From 42faef34194c466f03e29d75a63ae502e4213044 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 06 Jan 2026 10:38:46 +0800
Subject: [PATCH] 上一版是10.10的, 这版才是原始源码
---
vite.config.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vite.config.js b/vite.config.js
index d244b42..7d9b127 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -17,7 +17,6 @@
const isVisualizer = process.env.VISUALIZER === 'show'
export default defineConfig({
- // base: '/syn/',
base: './',
plugins: [
vue(),
@@ -62,7 +61,8 @@
// 关键:用正则表达式匹配所有含/api的路径(忽略大小写)
'^/api.*': { // 匹配以/api开头的任何路径(如/api、/api/xxx、/api?xx等)
// target: 'http://154.23.189.28:8086',
- target: 'https://allapi.sceazy.com', // 开发环境API地址,与config/index.js中的ENV_DEV保持一致
+ target:'https://api.swftek.com',
+ // target:'https://api.mak-web3.com',
// target: 'https://by2.cccxxx.cc',
changeOrigin: true,
secure: false,
--
Gitblit v1.9.3