From 4445fe07be086e69b964025c35a871857840eff5 Mon Sep 17 00:00:00 2001 From: duet Date: Mon, 25 Dec 2023 14:25:38 +0800 Subject: [PATCH] 123 --- vite.config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 5418170..8eaf9db 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -38,28 +38,28 @@ export default defineConfig({ port: 9528, proxy: { '/api': { - target: 'http://124.222.254.188:8887', + target: 'http://localhost:8887', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp(`^/api`), '/api'), secure: false }, '/customer': { - target: 'http://124.222.254.188:8090', + target: 'http://localhost:8090', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp(`^/customer`), '/customer'), secure: false }, '/app': { - target: 'http://124.222.254.188:8090', + target: 'http://localhost:8090', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp(`^/app`), '/app'), secure: false }, '/v2': { - target: 'http://124.222.254.188:8090', + target: 'http://localhost:8090', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp(`^/v2`), '/v2'),