Compare commits

..

No commits in common. "11ccfedcb50ca1d01abf822653bf83b7166ce47f" and "a91351dabb9bf65ad160f3e5453afb7e5b7578ea" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

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