feat: implement sharing page
This commit is contained in:
parent
137bdadaf9
commit
6962beb8e2
12 changed files with 113 additions and 69 deletions
|
|
@ -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)(.*)']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue