Skip to content

Commit

Permalink
debug: show not found details
Browse files Browse the repository at this point in the history
  • Loading branch information
tolbrino committed May 29, 2024
1 parent 41463ae commit c00d9d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/client_log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class ClientLog {
});
}

console.log("NOT FOUND 2", url.hostname, url.pathname);
return new Response("Not found", { status: 404 });
}

Expand Down
2 changes: 2 additions & 0 deletions server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export async function handleRequest(
return logsObject.fetch(strippedUrl, request);
}


console.log("NOT FOUND 1", url.hostname, url.pathname);
return new Response("Not found", { status: 404 });
}

Expand Down

0 comments on commit c00d9d5

Please sign in to comment.