Commit 70b8b1d6 authored by lihonglin's avatar lihonglin

feat: 代理ulr

parent b7d9974a
Pipeline #46720 passed with stages
in 2 minutes 2 seconds
/* eslint-disable */
// const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin;
// const proxyURL = 'https://work.panda-water.cn';
const proxyURL = 'http://192.168.12.47:8081';
const proxyURL = 'http://192.168.12.47:8082';
module.exports = {
......@@ -186,6 +186,16 @@ module.exports = {
'/cityjson': '/cityjson',
},
},
'/Panda_GIS': {
target: 'http://192.168.12.47:8081',
changeOrigin: true,
headers: {
'Access-Control-Allow-Origin': '*',
},
pathRewrite: {
'/Panda_GIS': '/Panda_GIS',
},
},
'/Publish': {
target: 'https://panda-water.cn',
changeOrigin: true,
......
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