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

Write a middleware for the file router that supports accessing files without including .html? #7

Open
zleyyij opened this issue May 25, 2024 · 1 comment
Assignees
Labels

Comments

@zleyyij
Copy link
Contributor

zleyyij commented May 25, 2024

Right now, pages are accessible at page.html on the release build. So what's /editor in the dev build is /editor.html in the production build. I think this could be solved by writing a tower middleware that accounts for that, possibly using the file serve dir as a reference/baseline.

@zleyyij
Copy link
Contributor Author

zleyyij commented Jul 11, 2024

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

No branches or pull requests

2 participants