CodeTorsoC
Convex Community7mo ago
2 replies
CodeTorso

Is there no way to get static pages in next js when using convex with convex Auth

I have tried both moving <ConvexAuthNextjsServerProvider>into a deeper layout and adding exceptions in middleware.ts

  matcher: [
    "/((?!.*\\..*|_next).*)",
    "/",
    "/home",
    "/(api|trpc)(.*)",
  ],


but still all my routes are considered as dynamic and getting server rendered for each request

┌ ƒ /         
├ ƒ /_not-found    
├ ƒ /home  
├ ƒ /imp  
├ ƒ /server 
└ ƒ /signin              
Was this page helpful?