diff --git a/vite.config.js b/vite.config.js index 361e5f2..7287b3c 100644 --- a/vite.config.js +++ b/vite.config.js @@ -40,8 +40,8 @@ export default defineConfig(({ proxy: { // https://cn.vitejs.dev/config/#server-proxy '/dev-api': { - target: 'http://localhost:9801', - //target: 'http://47.97.125.165:8904', + //target: 'http://localhost:9801', + target: 'http://47.97.125.165:8904', // target: 'http://192.168.1.114:9801', changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, '')