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

serve .html on extensionless paths? #113

Closed
phi-fell opened this issue Sep 17, 2020 · 3 comments
Closed

serve .html on extensionless paths? #113

phi-fell opened this issue Sep 17, 2020 · 3 comments
Labels

Comments

@phi-fell
Copy link

I'm using this to test a site locally, and (as many webservers do) going to e.g. /some-file serves /some-file.html whereas this crate serves a 404

Is there an option for this that I missed? and if not, could one be added?

@nabijaczleweli
Copy link
Collaborator

nabijaczleweli commented Sep 27, 2020

Apologies for the delay; can you try current develop (at least 4b6f57d) with -x/--strip-extensions?

@phi-fell
Copy link
Author

phi-fell commented Oct 1, 2020

No worries! That works perfectly! Thank you!

@nabijaczleweli
Copy link
Collaborator

Cool. Released in v1.10.0!

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