无人机管理后台前端(已迁走)
张含笑
2025-06-10 ed0e4a920ce4b1b95fb7a40d068663a8a8359e09
feat:更改配置
1 files modified
4 ■■■■ changed files
vite.config.mjs 4 ●●●● patch | view | raw | blame | history
vite.config.mjs
@@ -40,8 +40,8 @@
      // host: '192.168.1.178',
      proxy: {
        '/api': {
           target: 'http://localhost',
          // target: VITE_APP_URL,
          //  target: 'http://localhost',
          target: VITE_APP_URL,
          changeOrigin: true,
          rewrite: path => path.replace(/^\/api/, ''),
        },