From 5aa377760a81492598d1160f461661144be1b611 Mon Sep 17 00:00:00 2001 From: quantulr <35954003+quantulr@users.noreply.github.com> Date: Thu, 8 Sep 2022 10:32:59 +0800 Subject: [PATCH] base url --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 4230d99..8b6f631 100644 --- a/vite.config.js +++ b/vite.config.js @@ -31,7 +31,7 @@ export default defineConfig(({ mode, command }) => { proxy: { // https://cn.vitejs.dev/config/#server-proxy '/dev-api': { - target: 'http://172.20.10.10:1618', + target: 'http://120.26.107.74:1618', changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, '') }