live-server
live-server copied to clipboard
added support for default extensions
I enabled the "extension" feature already present in the 'send' npm package to allow default extensions:
Example: "localhost:8080/contact" can now resolve the file "/contact.html" if the file "/contact" does not exist.
I also added a test to validate default extensions are working. All tests are passing.
@tapio Any feedback?
Hi @shanebdavis
Looks nice. Feel free to add your PR to https://github.com/yandeu/five-server.
Any updates on this?