From 22eead3462d7977ceadbf844afc7118d2001d2c0 Mon Sep 17 00:00:00 2001 From: yziiy <15979918+mayday-yziiy@user.noreply.gitee.com> Date: Thu, 6 Nov 2025 14:06:51 +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 --- src/utils/http/config.ts | 2 +- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/http/config.ts b/src/utils/http/config.ts index 896d9be..4a26d80 100644 --- a/src/utils/http/config.ts +++ b/src/utils/http/config.ts @@ -1,4 +1,4 @@ -export const URL = "https://test.vespa.qxyushen.top"; +export const URL = "https://1.13.101.98"; // https://vespa.qxyushen.top 正式 // https://test.vespa.qxyushen.top // 声网appId 在这里换 diff --git a/vite.config.ts b/vite.config.ts index 7b423eb..e2f2842 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -37,7 +37,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => { proxyReq.method = 'OPTIONS'; // 设置CORS头 https://admin.qxyushen.top // https://test.vespa.qxyushen.top - res.setHeader('Access-Control-Allow-Origin', 'https://test.vespa.qxyushen.top'); + res.setHeader('Access-Control-Allow-Origin', 'https://admin.vespa.xscmmidi.site'); res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS'); res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization'); res.end();