chore: 更新代理目标端口为9081

main
zch 1 month ago
parent 0cede97599
commit 434ebdd7ae

@ -26,7 +26,7 @@ export default defineConfig(({ mode, command }) => {
proxy: { proxy: {
[env.VITE_APP_BASE_API]: { [env.VITE_APP_BASE_API]: {
// target: 'http://192.168.100.100:8080''', // target: 'http://192.168.100.100:8080''',
target: 'http://localhost:8080', target: 'http://localhost:9081',
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), '')

Loading…
Cancel
Save