更新my的接口地址

This commit is contained in:
yziiy
2025-10-27 09:28:42 +08:00
parent 2016e627e2
commit 7db17d14bc
2 changed files with 2 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
export const URL = "https://my.qixing2.top"; export const URL = "https://my.meiyinmanbo.com";
// 声网appId 在这里换 // 声网appId 在这里换
export const appIdBySw = 'b48912a0b10d48f88be7ac5ee8675a6b' export const appIdBySw = 'b48912a0b10d48f88be7ac5ee8675a6b'

View File

@@ -36,7 +36,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => {
if (req.method === 'OPTIONS') { if (req.method === 'OPTIONS') {
proxyReq.method = 'OPTIONS'; proxyReq.method = 'OPTIONS';
// 设置CORS头 // 设置CORS头
res.setHeader('Access-Control-Allow-Origin', 'https://119.45.34.13'); res.setHeader('Access-Control-Allow-Origin', 'https://my.meiyinmanbo.com');
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();