fix: 隐藏文件上传按钮,去除不必要的log打印

This commit is contained in:
Gsh
2025-07-07 23:27:55 +08:00
parent c9b79a074b
commit 4fc6a1e818
19 changed files with 55 additions and 71 deletions

View File

@@ -39,7 +39,6 @@ export default defineConfig((cnf) => {
bypass(req, res, options) {
//@ts-ignore
const proxyUrl = new URL(options.rewrite(req.url) || '',(options.target)as string)?.href || '';
console.log(proxyUrl);
req.headers['x-req-proxyUrl'] = proxyUrl
res.setHeader('x-res-proxyUrl',proxyUrl)
},