Replies: 1 comment 2 replies
-
you can create the custom-server and then get all the logic of connections/api call and then call those API to the getStaticProps.
|
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
I am currently trying to use
getstaticprops
to enrich my dynamic pages with some SEO information at build time.The CMS is only available via ssh-tunneling into a server and then extracting the data. Now, and I might be going wrong here, every single pageId creates their own tunnel, and pretty quickly they collide.
Is there a standard way to share a tunnel/database connection among all
getstaticprops
calls during build of pages with dynamic paths?Beta Was this translation helpful? Give feedback.
All reactions