wenwj
2025-04-09 5bc6a6f9ad1e972a1cbeaf4adbd0b77f6cfcc84c
vite.config.js
@@ -31,7 +31,7 @@
      proxy: {
        // https://cn.vitejs.dev/config/#server-proxy
        '/dev-api': {
          target: 'http://localhost:8080',
          target: 'http://192.168.50.160:8080',
          changeOrigin: true,
          rewrite: (p) => p.replace(/^\/dev-api/, '')
        }