chore(server): change the log level (#4106)

This commit is contained in:
LongYinan
2023-09-01 18:37:31 +08:00
committed by GitHub
parent c0bf82d3ff
commit 18ac355df3
2 changed files with 6 additions and 2 deletions
@@ -127,6 +127,7 @@ export class NextAuthController {
}
if (redirect?.endsWith('api/auth/error?error=AccessDenied')) {
this.logger.debug(req.headers);
if (!req.headers?.referer) {
res.redirect('https://community.affine.pro/c/insider-general/');
} else {