From e8854aeed917f6461979b0ba35fc6c6fca2b849a Mon Sep 17 00:00:00 2001 From: liudong <liudong> Date: 星期三, 31 七月 2024 15:59:29 +0800 Subject: [PATCH] 测试页面bug的修改 --- config/vite.config.dev.ts | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/vite.config.dev.ts b/config/vite.config.dev.ts index ea5a202..6e02406 100644 --- a/config/vite.config.dev.ts +++ b/config/vite.config.dev.ts @@ -22,16 +22,16 @@ }, '/api': { // target: 'http://192.168.20.116:1080', - target: 'http://192.168.20.158:8089', - // target: 'http://aiotlink.com:8189', + // target: 'http://192.168.20.158:8089', + target: 'http://aiotlink.com:8189', changeOrigin: true, ws: true, // rewrite: (path) => path.replace(new RegExp(`^/basic-api`), ''), }, '/api/v1': { // target: 'http://192.168.20.116:1080', - target: 'http://192.168.20.158:8089', - // target: 'http://aiotlink.com:8189', + // target: 'http://192.168.20.158:8089', + target: 'http://aiotlink.com:8189', changeOrigin: true, ws: true, // rewrite: (path) => path.replace(new RegExp(`^/basic-api`), ''), -- Gitblit v1.8.0