vite.config.mjs
@@ -39,8 +39,8 @@ // host: '192.168.1.178', proxy: { '/api': { //target: 'http://localhost', target: VITE_APP_URL, target: 'http://localhost', // target: VITE_APP_URL, changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), },