fix: vite代理端口修正 18080→18082

This commit is contained in:
2026-06-05 13:51:31 +08:00
parent 893cbf1fe0
commit 90c8cce725

View File

@@ -41,7 +41,7 @@ export default defineConfig(({ mode, command }) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
target: process.env.VITE_API_PROXY || 'http://localhost:18080/healthlink-his',
target: process.env.VITE_API_PROXY || 'http://localhost:18082/healthlink-his',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, ''),
},