This commit is contained in:
yziiy
2025-12-16 16:20:16 +08:00
parent cf96b9010f
commit d22738918e
2 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
export const URL = "https://yushengapi.qxyushen.top";
// export const URL = "https://yushengapi.qxyushen.top";
export const URL = "https://test.vespa.qxyushen.top";
// https://vespa.qxyushen.top 正式
// http://1.13.101.98
// https://test.vespa.qxyushen.top

View File

@@ -37,7 +37,8 @@ export default ({ mode }: ConfigEnv): UserConfigExport => {
proxyReq.method = 'OPTIONS';
// https://test.vespa.qxyushen.top
// 'http://yushenggliht.qxyushen.top'
res.setHeader('Access-Control-Allow-Origin', 'http://yushenggliht.qxyushen.top');
// res.setHeader('Access-Control-Allow-Origin', 'http://yushenggliht.qxyushen.top');
res.setHeader('Access-Control-Allow-Origin', 'https://test.vespa.qxyushen.top');
res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS');
res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization');
res.end();