Closed kristof-mattei closed 8 years ago
Weird. I will investigate.
Route like this should be somewhere in serving (nodejs) code:
// Angular routes support
app.use("*", function (req, res) {
res.sendFile(path.join(__dirname, "../public/index.html"));
});
The problem is the dev server. I reported it here https://github.com/webpack/webpack-dev-server/issues/640
I reverted to beta 5 which works. As soon as the bug gets fixed, I updated the server again.
How to reproduce:
Now navigate to
http://localhost:8080/about
. Doesn't work.Navigating from
http://localhost:8080/
, and clickingAbout
on top does work.If we check what gets offered by the webserver, we can clearly see that for
http://localhost:8080/about
there are no scripts.