更新线上环境

This commit is contained in:
yziiy
2025-12-22 18:14:14 +08:00
parent 8e7916739f
commit 790068643a
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
// export const URL = "https://yushengapi.qxyushen.top"; export const URL = "https://yushengapi.qxyushen.top";
export const URL = "https://test.vespa.qxyushen.top"; // export const URL = "https://test.vespa.qxyushen.top";
// 声网appId 在这里换 // 声网appId 在这里换
export const appIdBySw = '02f7339ec98947deaeab173599891932'; export const appIdBySw = '02f7339ec98947deaeab173599891932';

View File

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