Skip to content

Commit c294f6f

Browse files
committed
docs: clarify comment for URL pathname extraction in middleware
1 parent b6474e1 commit c294f6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function middleware(
4343
})(request, event);
4444
}
4545

46-
// Extract the URL pathname
46+
// Extract the URL pathname from the request
4747
const path = request.nextUrl.pathname;
4848

4949
// Allow direct access to sitemap.xml and robots.txt without i18n middleware processing

0 commit comments

Comments
 (0)