feat: implement sharing page

This commit is contained in:
shadcn 2023-06-16 17:06:23 +04:00
parent 137bdadaf9
commit 6962beb8e2
12 changed files with 113 additions and 69 deletions

View file

@ -1,7 +1,9 @@
import { authMiddleware } from '@clerk/nextjs'
// @see https://clerk.dev
export default authMiddleware()
export default authMiddleware({
publicRoutes: ['/share/:id']
})
export const config = {
matcher: ['/((?!.*\\..*|_next).*)', '/', '/(api|trpc)(.*)']