diff --git a/vite.config.js b/vite.config.js index 8ca8e29..f4b11ac 100644 --- a/vite.config.js +++ b/vite.config.js @@ -80,31 +80,16 @@ changeOrigin: true, rewrite: path => path.replace(/^\/geoserver/, ''), }, - '/xiaoGanGIS': { - target: 'https://server1.wh-nf.cn:8131', //geoserver服务 - changeOrigin: true, - rewrite: path => path.replace(/^\/xiaoGanGIS/, ''), - }, '/supermap1': { target: 'https://supermap1.wh-nf.cn:8090', //mapBox矢量地图 changeOrigin: true, rewrite: path => path.replace(/^\/supermap1/, ''), }, - '/mapBoxFont': { - target: 'http://192.168.20.66:8890', //mapbox字体文件 - changeOrigin: true, - rewrite: path => path.replace(/^\/supermap1/, ''), - }, '/previewUrl': { target: 'https://server1.wh-nf.cn:8115', //文件预览地址 changeOrigin: true, rewrite: path => path.replace(/^\/previewUrl/, ''), }, - '/shugjModalUrl': { - target: 'https://100.92.3.235:8081/shugjModalUrl', //孝感数公基 - changeOrigin: true, - rewrite: path => path.replace(/^\/shugjModalUrl/, ''), - }, }, }, css: {