no message

This commit is contained in:
chenlin
2025-11-25 10:50:52 +08:00
parent e6e86f2ce0
commit 93ecebcb2e
5 changed files with 63 additions and 103 deletions

View File

@@ -32,7 +32,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
// 本地跨域代理. 目前注释的原因暂时没有用途server 端已经支持跨域
proxy: {
['/admin-api']: {
target: env.VITE_BASE_URL,
target: 'http://10.28.117.100:48080',
ws: false,
changeOrigin: true,
rewrite: (path) => path.replace(new RegExp(`^/admin-api`), ''),