替换新的羽声

This commit is contained in:
yziiy
2025-11-29 10:53:04 +08:00
parent c9208b7cfa
commit 54db8030eb
2 changed files with 3 additions and 2 deletions

View File

@@ -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';

View File

@@ -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();