gaoshp
2025-05-27 06b8aad6929e04c3a5e7f41310080f2a04348552
vite.config.mjs
@@ -1,3 +1,9 @@
/*
 * @Date: 2025-05-27 23:44:41
 * @LastEditors: gaoshp
 * @LastEditTime: 2025-05-27 23:46:04
 * @FilePath: /mdmweb/vite.config.mjs
 */
import {
  defineConfig,
  loadEnv
@@ -54,7 +60,7 @@
      port: 2888,
      proxy: {
        '/api': {
          target: 'http://localhost',
          target: 'http://120.46.212.231:80',
          //target: 'https://saber3.bladex.cn/api',
          changeOrigin: true,
          rewrite: path => path.replace(/^\/api/, ''),