更新
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export const URL = "https://test.vespa.qxyushen.top";
|
||||
export const URL = "https://1.13.101.98";
|
||||
// https://vespa.qxyushen.top 正式
|
||||
// https://test.vespa.qxyushen.top
|
||||
// 声网appId 在这里换
|
||||
|
||||
@@ -37,7 +37,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => {
|
||||
proxyReq.method = 'OPTIONS';
|
||||
// 设置CORS头 https://admin.qxyushen.top
|
||||
// https://test.vespa.qxyushen.top
|
||||
res.setHeader('Access-Control-Allow-Origin', 'https://test.vespa.qxyushen.top');
|
||||
res.setHeader('Access-Control-Allow-Origin', 'https://admin.vespa.xscmmidi.site');
|
||||
res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS');
|
||||
res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization');
|
||||
res.end();
|
||||
|
||||
Reference in New Issue
Block a user