mirror of https://github.com/openspug/spug
U web update
parent
b585548ef8
commit
6d15833753
|
@ -5,6 +5,7 @@ module.exports = function (app) {
|
|||
target: 'http://127.0.0.1:8000',
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
headers: {'X-Real-IP': '127.0.0.1'},
|
||||
pathRewrite: {
|
||||
'^/api': ''
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue