diff --git a/auth.ts b/auth.ts index 5d60d94..169c069 100644 --- a/auth.ts +++ b/auth.ts @@ -17,12 +17,12 @@ export const { token.image = profile.picture } return token - }, - // @ts-ignore - authorized({ request, auth }) { - if (!request.nextUrl.pathname.startsWith('/share/')) return true - return !!auth?.user } + // @ts-ignore + // authorized({ request, auth }) { + // if (!request.nextUrl.pathname.startsWith('/share/')) return true + // return !!auth?.user + // } }, pages: { signIn: '/sign-in'