Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
reckseba committed May 4, 2024
1 parent 89f3624 commit f4b9b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { NextRequest } from "next/server";
export function middleware(req: NextRequest) {

if (req.nextUrl.pathname.match("/api/urlShort/*") || req.nextUrl.pathname.match("/api/urlLong/new")) {
// only this route is unauthenticated ok
// only these routes are unauthenticated ok
return;
}

Expand Down

0 comments on commit f4b9b33

Please sign in to comment.