Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix static generation on article pages #9

Open
JuanAraneta opened this issue Dec 14, 2022 · 1 comment
Open

Fix static generation on article pages #9

JuanAraneta opened this issue Dec 14, 2022 · 1 comment

Comments

@JuanAraneta
Copy link
Contributor

When we hit an article from the sidebar we are hitting the prismic endpoint, that page should be statically generated.

@flacs5
Copy link
Collaborator

flacs5 commented Dec 23, 2022

Hey Juan, According to the documentation from Nextjs: "In development (next dev), getStaticProps will be called on every request."
In production mode that would work as expected. (I already tried it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants