mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2025-12-08 05:33:11 +00:00
feat: 更新Classworks云端存储的默认设置为生产环境域名
This commit is contained in:
parent
865e09a5fa
commit
6bfd5fdf0e
@ -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": "",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -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) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user