feat: 更新Classworks云端存储的默认设置为生产环境域名

This commit is contained in:
SunWuyuan
2025-11-01 19:34:50 +08:00
parent 865e09a5fa
commit 6bfd5fdf0e
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ export default {
if (autoConfigureCloud) {
// 使用classworksCloudDefaults配置
const classworksCloudDefaults = {
"server.domain": "http://localhost:3030",
"server.domain": "https://kv.wuyuan.dev",
"server.siteKey": "",
};
+3 -3
View File
@@ -68,8 +68,8 @@ const SETTINGS_STORAGE_KEY = "Classworks_settings";
// 新增: Classworks云端存储的默认设置
const classworksCloudDefaults = {
//"server.domain": "https://kv.wuyuan.dev",
"server.domain": "http://localhost:3030",
"server.domain": "https://kv.wuyuan.dev",
//"server.domain": "http://localhost:3030",
"server.siteKey": "",
};
@@ -206,7 +206,7 @@ const settingsDefinitions = {
},
"server.authDomain": {
type: "string",
default: "http://localhost:5173",
default: "https://kv.houlang.cloud",
description: "授权服务器域名",
icon: "mdi-shield-account",
validate: (value) => {