Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit feb7d39

Browse files
committed
fix: logging to middleware
1 parent 28efd3c commit feb7d39

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/middleware.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const config = {
99
export async function middleware(req) {
1010
const path = req.nextUrl.pathname;
1111

12+
console.log("PATH", path);
1213
if (path !== "/") {
1314
return NextResponse.redirect(new URL(path, "https://github.com"));
1415
}

0 commit comments

Comments
 (0)