GetPsyched
Explore posts from serversCDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Turns out turning off
dynamicParams
means that I can't use route intercepts37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Thanks for all the help!
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
I plan to buy it but not yet, so I'll do the shift to edge once that happens
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Since my database driver (prisma) doesn't support edge unless using their paid service
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Will try this again in some time though
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
True!
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
I thought
dynamicParams
was only needed once since I only put it in my root layout and it fixed the error for majority of the routes37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
ouch
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
That leaves us with
/[locale]/[...catchAll]
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
It will be in v5 but it isn't yet
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Besides, I tried doing it in
/api/auth/[...nextauth]
and it bugged out with errors since next-auth
isn't edge compatible yet37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
I need to do that in every route?
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Which I will for a lot of routes, so that's a problem too
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
/[locale]/profile
is there because I'm calling getServerSession
in the code.37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
I wonder why
/[locale]
is still there in the error37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Ignore the ones with
[name]
and [id]
, I just haven't done generateStaticParams
for those yet37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Still have #1 and #2 remaining
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Okay, that fixed #3
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
Oh!
37 replies
CDCloudflare Developers
•Created by Dario on 3/13/2024 in #next-on-pages
Dynamic routes break my deployment
37 replies