智慧园区前端大屏
shuishen
2025-01-03 d7bc6a98ac8a2433b95919a06fa00c8ff3ff6c30
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: 2025-01-03 19:18:35
 * @FilePath: \bigScreen\vite.config.js
 * @Description: 
 * 
@@ -109,18 +109,18 @@
          rewrite: path => path.replace(/^\/panorama/, ''),
        },
        '/zhyq/newMx': {
        '/zhyq-rc/newMx': {
          // target: 'http://localhost',
          target: 'https://wrj.shuixiongit.com/zhyq/newMx',
          target: 'https://wrj.shuixiongit.com/zhyq-rc/newMx',
          changeOrigin: true,
          rewrite: path => path.replace(/^\/zhyq\/newMx/, ''),
          rewrite: path => path.replace(/^\/zhyq-rc\/newMx/, ''),
        },
        // '/zhyq/mx': {
        // '/zhyq-rc/mx': {
        //   // target: 'http://localhost',
        //   target: 'https://wrj.shuixiongit.com/zhyq/mx',
        //   target: 'https://wrj.shuixiongit.com/zhyq-rc/mx',
        //   changeOrigin: true,
        //   rewrite: path => path.replace(/^\/zhyq\/mx/, ''),
        //   rewrite: path => path.replace(/^\/zhyq-rc\/mx/, ''),
        // },
        '/zhyqapi': {