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',
|
target: 'http://127.0.0.1:8000',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true,
|
ws: true,
|
||||||
|
headers: {'X-Real-IP': '127.0.0.1'},
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/api': ''
|
'^/api': ''
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue