智慧园区前端大屏
shuishen
2024-11-26 ecdffd165cf73c0e3c051c69d1dfdc71ba9331c8
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-11-12 14:02:19
 * @LastEditTime: 2024-11-24 03:04:27
 * @FilePath: \bigScreen\vite.config.js
 * @Description: 
 * 
@@ -85,6 +85,13 @@
      //   overlay:false
      // },
      proxy: {
        '/zhyq3Dtile': {
          // target: 'http://localhost',
          target: 'https://wrj.shuixiongit.com/zhyq3Dtile',
          changeOrigin: true,
          rewrite: path => path.replace(/^\/zhyq3Dtile/, ''),
        },
        '/panorama': {
          // target: 'http://localhost',
          target: 'http://vr.jxpskj.com:180',
@@ -92,6 +99,13 @@
          rewrite: path => path.replace(/^\/panorama/, ''),
        },
        '/zhyq/newMx': {
          // target: 'http://localhost',
          target: 'https://wrj.shuixiongit.com/zhyq/newMx',
          changeOrigin: true,
          rewrite: path => path.replace(/^\/zhyq\/newMx/, ''),
        },
        '/zhyq/mx': {
          // target: 'http://localhost',
          target: 'https://wrj.shuixiongit.com/zhyq/mx',