1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2025-12-08 05:33:11 +00:00

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

This commit is contained in:
SunWuyuan 2025-11-01 19:34:50 +08:00
parent 865e09a5fa
commit 6bfd5fdf0e
No known key found for this signature in database
GPG Key ID: A6A54CF66F56BB64
2 changed files with 4 additions and 4 deletions

View File

@ -183,7 +183,7 @@ export default {
if (autoConfigureCloud) { if (autoConfigureCloud) {
// 使用classworksCloudDefaults配置 // 使用classworksCloudDefaults配置
const classworksCloudDefaults = { const classworksCloudDefaults = {
"server.domain": "http://localhost:3030", "server.domain": "https://kv.wuyuan.dev",
"server.siteKey": "", "server.siteKey": "",
}; };

View File

@ -68,8 +68,8 @@ const SETTINGS_STORAGE_KEY = "Classworks_settings";
// 新增: Classworks云端存储的默认设置 // 新增: Classworks云端存储的默认设置
const classworksCloudDefaults = { const classworksCloudDefaults = {
//"server.domain": "https://kv.wuyuan.dev", "server.domain": "https://kv.wuyuan.dev",
"server.domain": "http://localhost:3030", //"server.domain": "http://localhost:3030",
"server.siteKey": "", "server.siteKey": "",
}; };
@ -206,7 +206,7 @@ const settingsDefinitions = {
}, },
"server.authDomain": { "server.authDomain": {
type: "string", type: "string",
default: "http://localhost:5173", default: "https://kv.houlang.cloud",
description: "授权服务器域名", description: "授权服务器域名",
icon: "mdi-shield-account", icon: "mdi-shield-account",
validate: (value) => { validate: (value) => {