04 Jul 2017
It is impossible to compile and run Go program in Docker right away. When you try it, you will get not found error. This is caused by CGO. Most resolutions found on the Internet suggest to disable CGO.
It is impossible to compile and run Go program in Docker right away. When you try it, you will get not found error. This is caused by CGO. Most resolutions found on the Internet suggest to disable CGO.
I found bug in angular2-template-loader. It turned out that's known bug you can find here
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...