Commit 5dc9afd4 authored by 周成波's avatar 周成波

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

parent c19e8182
......@@ -26,7 +26,7 @@ export default defineConfig({
server: {
proxy: {
'/api/': {
target: 'http://127.0.0.1:5001/', // 后端服务实际地址
target: 'http://127.0.0.1:5002/', // 后端服务实际地址
changeOrigin: true,
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