Commit 9308c6db authored by honghuiliu's avatar honghuiliu 💬

Merge remote-tracking branch 'origin/master'

parents fead1edd 5d5b9c10
...@@ -62,7 +62,7 @@ module.exports = { ...@@ -62,7 +62,7 @@ module.exports = {
port:80, port:80,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://127.0.0.1:9801', target: 'http://127.0.0.1:8888',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
// '^/apis': ''表示把/apis替换为‘’(空字符串),这样既能使用代理, // '^/apis': ''表示把/apis替换为‘’(空字符串),这样既能使用代理,
......
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