07 Apr 2017
How to serve static files with custom NotFound handler

Serving static files is necessary for http server. Usually when file is not present, we send simple 404 page. It's different for Angular. Here we have to send our index.html and let Router take the job. With vanilla http.FileServer it's impossible to have custom handler when file does not exist. Not anymore...

read more