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/, ''),