增加测试版链接

This commit is contained in:
yziiy
2026-01-13 09:02:41 +08:00
parent 94422eb4f9
commit 119c88dc11
2 changed files with 5 additions and 2 deletions

View File

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

View File

@@ -35,7 +35,8 @@ export default ({ mode }: ConfigEnv): UserConfigExport => {
onProxyReq: (proxyReq, req, res) => {
if (req.method === 'OPTIONS') {
proxyReq.method = 'OPTIONS';
res.setHeader('Access-Control-Allow-Origin', 'http://yushenggliht.qxyushen.top');
res.setHeader('Access-Control-Allow-Origin', 'https://vsyusheng.qxhs.xyz');
// 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');