feat: 注释掉调试日志,优化代码清晰度

This commit is contained in:
2026-03-31 03:25:36 +08:00
parent 2fd473a1b1
commit a40a23ea63
4 changed files with 35 additions and 7 deletions

View File

@@ -308,7 +308,7 @@ export const handleRequest = async (req: http.IncomingMessage, res: http.ServerR
username: loginUser?.tokenUser?.username || '',
password: password,
});
console.log('checkPermission', checkPermission, 'loginUser:', loginUser, password)
// console.log('checkPermission', checkPermission, 'loginUser:', loginUser, password)
if (!checkPermission.success) {
return createNotFoundPage('no permission');
}
@@ -342,7 +342,7 @@ export const handleRequest = async (req: http.IncomingMessage, res: http.ServerR
});
return;
}
console.log('appFile', appFile, appFileUrl, isExist);
// console.log('appFile', appFile, appFileUrl, isExist);
// console.log('isExist', isExist);
if (!appFile) {
const [indexFilePath, etag] = indexFile.split('||');