Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix 404 for docsite subpages when hard reloading app #995

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

esimkowitz
Copy link
Member

This adds a custom resolver to the docsite server to fall back to .html addresses when it gets a not found for a given path. This fixes an issue where subpages would return a 404 after a hard reload of the frontend. I also added an effect that will run on startup to resolve the latest docsite url and set it in the metadata, since the backend port changes on every run of the app. I also made it so that setting the default homepage in the webview widget will also unset any block-specific homepage.

@esimkowitz esimkowitz merged commit b81ab63 into main Oct 9, 2024
5 checks passed
@esimkowitz esimkowitz deleted the evan/fix-docsite-404 branch October 9, 2024 19:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant