Fix up auth

This commit is contained in:
Jared Palmer 2023-06-16 13:30:27 -04:00
parent 8a142fcdaa
commit f4bcba82d1
3 changed files with 5 additions and 2 deletions

View file

@ -18,9 +18,8 @@ export const {
}
return token
}
// // @ts-ignore
// @TODO
// authorized({ request, auth }) {
// if (!request.nextUrl.pathname.startsWith('/share/')) return false
// return !!auth?.user
// }
},