智慧园区前端大屏
shuishen
2024-11-11 9e52c52abf36f2d7b89bb1595bda7424127b6f08
配置文件调整
1 files modified
6 ■■■■ changed files
vite.config.js 6 ●●●● patch | view | raw | blame | history
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-01 11:15:36
 * @LastEditTime: 2024-11-11 17:48:23
 * @FilePath: \bigScreen\vite.config.js
 * @Description: 
 * 
@@ -93,8 +93,8 @@
        },
        '/zhyqapi': {
          target: 'http://localhost:15870',
          // target: 'https://wrj.shuixiongit.com/zhyqapi',
          // target: 'http://localhost:15870',
          target: 'https://wrj.shuixiongit.com/zhyqapi',
          changeOrigin: true,
          rewrite: path => path.replace(/^\/zhyqapi/, ''),
        },