I added a small feature to set the default extension to be used when serving files, it can be really useful if you have a file named foo.html and you want it show when you try to open /foo, not just when you type /foo.html in your browser.
Thankfully serve-static does already support this feature.
Hey,
I added a small feature to set the default extension to be used when serving files, it can be really useful if you have a file named
foo.html
and you want it show when you try to open/foo
, not just when you type/foo.html
in your browser.Thankfully
serve-static
does already support this feature.