diff --git a/vite.config.js b/vite.config.js index a847fcb..4272490 100644 --- a/vite.config.js +++ b/vite.config.js @@ -31,7 +31,8 @@ export default defineConfig(({ mode, command }) => { proxy: { // https://cn.vitejs.dev/config/#server-proxy '/dev-api': { - target: 'http://192.168.1.13:9080', + // target: 'http://192.168.1.13:9080', + target: 'http://192.168.50.11:9080', changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, '') }