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

Add support for .html suffixing when the path doesn't exist #180

Merged
merged 5 commits into from
Mar 5, 2023

Conversation

syrusakbary
Copy link
Contributor

This PR fixes the issue #179.

I tried to implement in multiple ways and places, but this resulted the cleaner one

@joseluisq joseluisq self-assigned this Mar 4, 2023
src/static_files.rs Outdated Show resolved Hide resolved
@joseluisq joseluisq added enhancement New feature or request v2 v2 release labels Mar 4, 2023
Copy link
Collaborator

@joseluisq joseluisq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@joseluisq joseluisq merged commit 7ed7b03 into static-web-server:master Mar 5, 2023
@joseluisq joseluisq changed the title Add support for .html prefixing when the path doesn't exist Add support for .html suffixing when the path doesn't exist Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v2 v2 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants