Can't seem to access params in getStaticProps w/ getStaticPaths (custom express) #14196
Unanswered
raindecastro
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to figure out why I'm not able to retrieve the params in getStaticProps. While I was doing some testing, I was able to get the params in getStaticProps when I go through the page using next/link or useRouter's push. But when it gets reloaded through my custom server that's when I can't retrieve the params.
Any ideas on what might've affected it?
Here's the custom server code for the particular route
Beta Was this translation helpful? Give feedback.
All reactions