diff --git a/vite.config.ts b/vite.config.ts index be1425d..d6abdda 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -37,7 +37,7 @@ 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://ysmanagementconsole.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');