From c7f3fd5215399b37d0511b3bd555150ff1b13507 Mon Sep 17 00:00:00 2001 From: charles <981744753@qq.com> Date: 星期一, 29 四月 2024 10:39:30 +0800 Subject: [PATCH] fix:回退原先版本 --- vite.config.ts | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index f8c66bf..a543377 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -14,17 +14,19 @@ // https://vitejs.dev/config/ export default defineConfig({ + base:'./', server: { proxy: { '/api-s/': { // http://192.168.20.119:8003 http://192.168.20.25:7010 - target: 'http://192.168.20.120:9081', + //target: 'http://192.168.20.119:9081', + target:'http://pad.fai365.com', ws: true, changeOrigin: true }, '/api': { // http://192.168.20.119:8003 http://192.168.20.25:7010 - target: 'http://192.168.20.118:8001', + target:'http://pad.fai365.com', ws: true, changeOrigin: true } -- Gitblit v1.8.0