-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Description
I love using it to mock web apps using HTML pages.
However I'd like to strip the .html
extension in URL path.
E.g. instead of requesting /home.html
to serve local ./home.html
, I'd like to request /home
.
I could achieve that with a simple path rewrite, e.g. a CLI option --path-rewrite
with a regex.
simple-http-server --path-rewrite='s/*.html$//'
Metadata
Metadata
Assignees
Labels
No labels