1.修复上传漏洞和SQL注入漏洞-移除安装模块所有的代码

This commit is contained in:
2026-06-24 10:16:11 +08:00
parent aa5bda04ad
commit 60f30d8381
33 changed files with 8 additions and 5926 deletions

View File

@@ -27,11 +27,10 @@ const viteConfig = ({ mode }: ConfigEnv): UserConfig => {
server: {
port: parseInt(VITE_PORT),
open: VITE_OPEN != 'false',
// 开发时把 /api、/admin、/install 代理到 webman避免跨域
// 开发时把 /api、/admin 代理到 webman避免跨域
proxy: {
'/api': { target: VITE_PROXY_TARGET || 'http://localhost:6969', changeOrigin: true },
'/admin': { target: VITE_PROXY_TARGET || 'http://localhost:6969', changeOrigin: true },
'/install': { target: VITE_PROXY_TARGET || 'http://localhost:6969', changeOrigin: true },
},
},
build: {