智慧园区前端大屏
shuishen
2024-12-17 79838581ac5e710da4899348d2e8fb8fb5d68a5e
vite.config.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-25 10:56:27
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-12-03 13:42:55
 * @LastEditTime: 2024-12-17 11:34:47
 * @FilePath: \bigScreen\vite.config.js
 * @Description: 
 * 
@@ -95,11 +95,11 @@
      //   overlay:false
      // },
      proxy: {
        '/zhyq/xinganTileset': {
        '/zhyq-xg/xinganTileset': {
          // target: 'http://localhost',
          target: 'http://182.109.88.42:10010/xinganTileset',
          changeOrigin: true,
          rewrite: path => path.replace(/^\/zhyq\/xinganTileset/, ''),
          rewrite: path => path.replace(/^\/zhyq-xg\/xinganTileset/, ''),
        },
        '/zhyq3Dtile': {
@@ -116,18 +116,18 @@
          rewrite: path => path.replace(/^\/panorama/, ''),
        },
        '/zhyq/newMx': {
        '/zhyq-xg/newMx': {
          // target: 'http://localhost',
          target: 'https://wrj.shuixiongit.com/zhyq/newMx',
          target: 'https://wrj.shuixiongit.com/zhyq-xg/newMx',
          changeOrigin: true,
          rewrite: path => path.replace(/^\/zhyq\/newMx/, ''),
          rewrite: path => path.replace(/^\/zhyq-xg\/newMx/, ''),
        },
        // '/zhyq/mx': {
        // '/zhyq-xg/mx': {
        //   // target: 'http://localhost',
        //   target: 'https://wrj.shuixiongit.com/zhyq/mx',
        //   target: 'https://wrj.shuixiongit.com/zhyq-xg/mx',
        //   changeOrigin: true,
        //   rewrite: path => path.replace(/^\/zhyq\/mx/, ''),
        //   rewrite: path => path.replace(/^\/zhyq-xg\/mx/, ''),
        // },
        '/zhyqapi': {