更新正式地址

This commit is contained in:
yziiy
2026-01-30 14:42:52 +08:00
parent 6df60fcd9f
commit 5443a6ccf2
2 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
// 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://vsyusheng.qxhs.xyz";
// 测试 // 测试
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

@@ -39,14 +39,14 @@ export default ({ mode }: ConfigEnv): UserConfigExport => {
// "Access-Control-Allow-Origin", // "Access-Control-Allow-Origin",
// "http://adminvs.qxhs.xyz" // "http://adminvs.qxhs.xyz"
// ); // );
// res.setHeader(
// "Access-Control-Allow-Origin",
// "http://yushenggliht.qxyushen.top"
// );
res.setHeader( res.setHeader(
"Access-Control-Allow-Origin", "Access-Control-Allow-Origin",
"https://test.vespa.qxyushen.top" "http://yushenggliht.qxyushen.top"
); );
// res.setHeader(
// "Access-Control-Allow-Origin",
// "https://test.vespa.qxyushen.top"
// );
res.setHeader( res.setHeader(
"Access-Control-Allow-Methods", "Access-Control-Allow-Methods",
"GET, POST, PUT, DELETE, OPTIONS" "GET, POST, PUT, DELETE, OPTIONS"