From 2cdbbbcc1e7577c9ca6d5b0f3a0cc5a9ef3bc067 Mon Sep 17 00:00:00 2001 From: yziiy <15979918+mayday-yziiy@user.noreply.gitee.com> Date: Tue, 13 Jan 2026 09:33:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 000cff5..0173671 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -35,7 +35,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => { onProxyReq: (proxyReq, req, res) => { if (req.method === 'OPTIONS') { proxyReq.method = 'OPTIONS'; - res.setHeader('Access-Control-Allow-Origin', 'https://vsyusheng.qxhs.xyz'); + res.setHeader('Access-Control-Allow-Origin', 'http://adminvs.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');