Skip to content

Commit

Permalink
add logger
Browse files Browse the repository at this point in the history
  • Loading branch information
aggre committed Oct 10, 2023
1 parent f7c90ac commit da102af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ const redirects = [

export default function middleware(req: Request) {
const url = new URL(req.url);
console.log("req.url", req.url);
console.log("url", url);

const matchToRedirects = redirects.find(
({ host, matchers }) =>
Expand Down

0 comments on commit da102af

Please sign in to comment.