-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Description
When I use the static export of my site, all links fail, but if I click reload the page loads.
The problem lies in the getInitialProps where I fetch information from an api endpoint of my server. In development mode it is running and everything works OK.
If I export a static version of my site, all links fail because the server on getInitialProps is not reachable. But if I click reload the page then works fine and renders the information that was fetched when the server api endpoint was available.
System information
- OS: mac osx 10.13.4
- Browser (if applies) chrome
- Version of Next.js: [e.g. 6.0.2]
olivarity, eyexx, evgeny-t and lawrenceching
Metadata
Metadata
Assignees
Labels
No labels