diff --git a/vite.config.js b/vite.config.js index 18c8893..43abaf0 100644 --- a/vite.config.js +++ b/vite.config.js @@ -42,7 +42,7 @@ export default defineConfig(({ mode, command }) => { proxy: { // https://cn.vitejs.dev/config/#server-proxy '/dev-api': { - // target: 'http://154.8.147.51:8288', + // target: 'http://154.8.147.51:8080', target: 'http://127.0.0.1:8080', changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, '')