fix(web): file add size

This commit is contained in:
zhaoying
2026-04-07 11:17:14 +08:00
parent 6c8d0d9d64
commit bfc98efc9d
9 changed files with 213 additions and 169 deletions

View File

@@ -12,16 +12,7 @@ export default defineConfig({
proxy: {
// 主要API代理支持 /api 和 /api/* 格式
'/api': {
// target: 'http://192.168.110.83:8000', // wxy
// target: 'http://192.168.110.86:8000', // lxy
// target: 'http://192.168.110.2:8000', // xjn
// target: 'http://192.168.110.72:8000', // llq
// target: 'http://192.168.110.39:8000', // myh
target: 'https://devmemorybear.redbearai.com/', // 开发后端服务地址
// target: 'https://devcopymemorybear.redbearai.com/', // 开发sass后端服务地址
// target: 'https://testmemorybear.redbearai.com/', // 测试后端服务地址
// target: 'https://memorybear.redbearai.com/', // 预发服务地址
// target: 'https://cloud.memorybear.ai/', // AMAZON 生产地址
target: 'http://localhost:5173',
changeOrigin: true,
// 匹配所有以/api开头的请求包括/api/token
@@ -93,7 +84,7 @@ export default defineConfig({
minify: 'terser',
terserOptions: {
compress: {
drop_console: true, // 移除 console
drop_console: false, // 移除 console
drop_debugger: true, // 移除 debugger
},
},