feat(): 改变代理

master
李神峰 2025-02-07 16:55:56 +08:00
parent 8221fa9a4e
commit a77dade83a
1 changed files with 2 additions and 2 deletions

View File

@ -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': '',