http-server dist
works great for me on '/' but when using '/foo' it returns a 404. Is there an option for this module to serve 'index.html' by default for all routes?
Or does anyone know of a similar module with this functionality? I'm looking for a server that achieve this without any code (i.e capable from the CLI entirely)