diff --git a/src/utils/http/config.ts b/src/utils/http/config.ts index 4920bfc..aa06eed 100644 --- a/src/utils/http/config.ts +++ b/src/utils/http/config.ts @@ -1,6 +1,7 @@ -export const URL = "https://test.vespa.qxyushen.top"; +export const URL = "https://yushengapi.qxyushen.top"; // https://vespa.qxyushen.top 正式 // http://1.13.101.98 // https://test.vespa.qxyushen.top +// 新的羽声 https://yushengapi.qxyushen.top // 声网appId 在这里换 export const appIdBySw = '02f7339ec98947deaeab173599891932'; \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 9a00c2d..d9b2763 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -38,7 +38,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => { // 设置CORS头 https://admin.qxyushen.top // https://test.vespa.qxyushen.top // 'http://admin.vespa.xscmmidi.site' - res.setHeader('Access-Control-Allow-Origin', 'http://test.admin.qxyushen.top'); + res.setHeader('Access-Control-Allow-Origin', 'http://yushenggliht.qxyushen.top'); res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS'); res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization'); res.end();