-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
The RHWC Spring Boot router serves the static built Next pages as they are on disk- .html. On the other hand, all of the links to the pages in the app are to the URLs without the suffix. This is not typically an issue, as the Next router handles this internally (replacing the page in window.) However, if you click on a link before the JS loads (note that I have not experienced this in the wild, but I could imagine this being possible on a slow driver station), you are served a 404 page for the static page. You can also reproduce this manually by reloading with Ctrl/Cmd-R and immediately clicking a top navigation link. I think the cleanest way to fix this would be to serve the html assets on the suffix free path.