Compare commits

..

2 Commits

Author SHA1 Message Date
nopy 11ccfedcb5 1 2024-07-11 21:21:09 +08:00
nopy d6b1aae7cd 1 2024-07-11 21:20:38 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ module.exports = function(app) {
app.use(
'/api', // 如果请求路径匹配'/api',则进行代理
createProxyMiddleware({
target: 'http://127.0.0.1:5000', // 目标后端服务地址
target: 'http://127.0.0.1:8000', // 目标后端服务地址
changeOrigin: true,
})
);