This commit is contained in:
David Nguyen
2025-02-12 23:17:43 +11:00
parent 1d7f3723bc
commit 12f3b7629e
12 changed files with 124 additions and 13 deletions

View File

@ -27,7 +27,7 @@ export const appContext = async (c: Context, next: Next) => {
const noSessionCookie = extractSessionCookieFromHeaders(request.headers) === null;
if (!isPageRequest(request) || noSessionCookie || blacklistedPathsRegex.test(url.pathname)) {
logger.log('Pathname ignored', url.pathname);
// logger.log('Pathname ignored', url.pathname);
setAppContext(c, {
requestMetadata: extractRequestMetadata(request),