feat(): 改变代理
parent
8221fa9a4e
commit
a77dade83a
|
|
@ -40,9 +40,9 @@ module.exports = function (app) {
|
||||||
app.use(
|
app.use(
|
||||||
'/shzh/jcsj',
|
'/shzh/jcsj',
|
||||||
createProxyMiddleware({
|
createProxyMiddleware({
|
||||||
// target: 'http://223.75.53.141:81/shzh/jcsj',
|
target: 'http://223.75.53.141:81/shzh/jcsj',
|
||||||
// target: 'http://192.168.66.199:20010',
|
// target: 'http://192.168.66.199:20010',
|
||||||
target: 'http://192.168.66.7:20010',
|
// target: 'http://192.168.66.7:20010',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/shzh/jcsj': '',
|
'^/shzh/jcsj': '',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue