Commit 533cd168 authored by 周成波's avatar 周成波

Revert "修改开发环境的后端调用端口"

This reverts commit 5dc9afd4.
parent 5dc9afd4
...@@ -26,7 +26,7 @@ export default defineConfig({ ...@@ -26,7 +26,7 @@ export default defineConfig({
server: { server: {
proxy: { proxy: {
'/api/': { '/api/': {
target: 'http://127.0.0.1:5002/', // 后端服务实际地址 target: 'http://127.0.0.1:5001/', // 后端服务实际地址
changeOrigin: true, changeOrigin: true,
rewrite: (path: any) => path.replace(/^\/api/, '') rewrite: (path: any) => path.replace(/^\/api/, '')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment