temp
This commit is contained in:
@@ -40,7 +40,7 @@ import type { MiddlewareMatcher } from "@/types/middleware"
|
||||
export const middleware = auth(async (request) => {
|
||||
const { nextUrl } = request
|
||||
const lang = findLang(nextUrl.pathname)!
|
||||
|
||||
console.log("TestTest ", nextUrl)
|
||||
const isLoggedIn = !!request.auth
|
||||
const hasError = request.auth?.error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user