Compare commits
2 Commits
a91351dabb
...
11ccfedcb5
Author | SHA1 | Date |
---|---|---|
nopy | 11ccfedcb5 | |
nopy | d6b1aae7cd |
|
@ -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,
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue