feat: 注释掉调试日志,优化代码清晰度
This commit is contained in:
@@ -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('||');
|
||||
|
||||
Reference in New Issue
Block a user