lpar / gzipped

Replacement for golang http.FileServer which supports precompressed static assets.
BSD 3-Clause "New" or "Revised" License
94 stars 15 forks source link

Fixed withIndexHTML example when leading / is stripped #17

Closed bezineb5 closed 4 years ago

bezineb5 commented 4 years ago

When leading / is stripped, withIndexHTML receives "" as URL path and doesn't handle it as "/". Fix for #16 (2nd issue)

lpar commented 4 years ago

Thanks!