“yueshang” пре 2 година
родитељ
комит
d348542258
2 измењених фајлова са 1 додато и 1 уклоњено
  1. 0 0
      git
  2. 1 1
      vite.config.js

+ 1 - 1
vite.config.js

@@ -31,7 +31,7 @@ export default defineConfig(({ mode, command }) => {
       proxy: {
         // https://cn.vitejs.dev/config/#server-proxy
         '/dev-api': {
-          target: 'http://localhost:8080',
+          target: 'http://192.168.1.28:8080/',
           changeOrigin: true,
           rewrite: (p) => p.replace(/^\/dev-api/, '')
         }