diff --git a/README.md b/README.md index 0b86234..44a3d93 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ 适用于班级大屏的作业板小工具 -请打开 [https://cs.houlangs.com](https://cs.houlangs.com) 立刻使用 +请打开 [https://cs.houlangs.com](https://cs.houlang.cloud) 立刻使用 ## 交流 @@ -61,5 +61,4 @@ ZeroCat 的项目 遵循 [Contributor Covenant](http://contributor-covenant.org/ ZeroCat 社区项目遵循 [AGPL-3.0 许可证](LICENSE)。 -版权所有 (C) 2020-2024 孙悟元。 -Copyright (C) 2020-2024 Sun Wuyuan. +Copyright (C) 2020-2026 Sunwuyuan. diff --git a/src/components/ExamConfigEditor.vue b/src/components/ExamConfigEditor.vue index 3871194..065e8eb 100644 --- a/src/components/ExamConfigEditor.vue +++ b/src/components/ExamConfigEditor.vue @@ -1782,7 +1782,7 @@ export default { if (result.success && result.url) { // 构建考试页面URL - const examUrl = `https://es.examaware.tech/exam/?configUrl=${encodeURIComponent(result.url)}`; + const examUrl = `https://es.examaware.cn/exam/?configUrl=${encodeURIComponent(result.url)}`; // 在新窗口中打开 window.open(examUrl, '_blank'); @@ -1867,7 +1867,7 @@ export default { const base64Data = btoa(unescape(encodeURIComponent(jsonString))); // 构建examaware://协议URL - const ea2Url = `examaware://player?data=${base64Data}`; + const ea2Url = `examaware://player?data=${encodeURIComponent(base64Data)}`; // 尝试打开 window.location.href = ea2Url; diff --git a/src/components/settings/AboutCard.vue b/src/components/settings/AboutCard.vue index 8f1f0e9..2befa17 100644 --- a/src/components/settings/AboutCard.vue +++ b/src/components/settings/AboutCard.vue @@ -10,6 +10,45 @@ + + + +
+
+
请支持我们 Classworks
+ +
+
+
+ +

+ 我是Classworks的开发者孙悟元,是一名高二的中国在校学生。Classworks 是一个完全开源免费的项目。如果可以,欢迎打赏。 +

+
+ + 爱发电 + +
+
+
+
{ + window.open('https://afdian.com/a/wydev', '_blank'); + }; + onMounted(() => { loadDependencies(); }); @@ -396,6 +439,7 @@ export default { openReportDialog, copyEnvInfo, openFeedback, + openDonationLink, envBoxText, envInfo, reportBody, @@ -405,3 +449,27 @@ export default { }, }; + + diff --git a/src/main.js b/src/main.js index 30b1d08..4a23020 100644 --- a/src/main.js +++ b/src/main.js @@ -34,7 +34,7 @@ let feedbackIntegration = null; // 初始化 Sentry,但暂不启用 Replay Sentry.init({ app, - dsn: "https://2f8e5e4ec986c6077d3798ba9f683fdd@o4510762489151488.ingest.us.sentry.io/4510762503438336", + dsn: "https://dc34ab47426f49c0925445f0d87b7007@report.houlang.cloud/6", // Setting this option to true will send default PII data to Sentry. // For example, automatic IP address collection on events sendDefaultPii: true, @@ -71,7 +71,7 @@ Sentry.init({ // Tracing tracesSampleRate: 1.0, // Capture 100% of the transactions // Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled - tracePropagationTargets: ["localhost", /^https:\/\/kv-service\.(houlang\.cloud|wuyuan\.dev)/], + tracePropagationTargets: ["localhost", /^https?:\/\/cs\.(houlang\.cloud|houlangs\.com)/], // Session Replay - 关闭自动录制 replaysSessionSampleRate: 0, // 不自动录制会话 replaysOnErrorSampleRate: 0, // 不在错误时自动录制(改为手动触发)