update 回退误提交的本地代理端口

This commit is contained in:
may 2026-10-20 15:50:31 +08:00
parent fd961b705e
commit e147089ba7

View File

@ -30,7 +30,7 @@ export default defineConfig(({ mode, command }) => {
open: true, open: true,
proxy: { proxy: {
[env.VITE_APP_BASE_API]: { [env.VITE_APP_BASE_API]: {
target: 'http://localhost:17083', target: 'http://localhost:8080',
changeOrigin: true, changeOrigin: true,
ws: true, ws: true,
rewrite: path => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '') rewrite: path => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')