From 8ee4d61f43f78beddf5c4f2211675992040689da Mon Sep 17 00:00:00 2001 From: yziiy <15979918+mayday-yziiy@user.noreply.gitee.com> Date: Mon, 27 Oct 2025 09:36:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= 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 40dbcc7..676894e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -36,7 +36,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => { if (req.method === 'OPTIONS') { proxyReq.method = 'OPTIONS'; // 设置CORS头 - res.setHeader('Access-Control-Allow-Origin', 'https://my.meiyinmanbo.com'); + res.setHeader('Access-Control-Allow-Origin', 'https://119.45.34.13'); res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS'); res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization'); res.end();