Hi! I’ve deployed to Netlify a personal webpage and successfully used Scully (Angular’s SSG) with blog support.
The issue I’m encountering is with netlify _redirects
file.
Before doing the Scully build I used to have /* /index.html 200
in it.
But now that is not working anymore. To be more specific: I get back the index.html of the page that I am in, but as plain html (or so it seems).
Could someone tell me how I need to adjust my _redirects
file in the case in which I have deployed a Scully build?
For further clarity you can reproduce the issue I am encountering if you go to my Netlify website www.germandistel.com (or germandistel.netlify.com) and navigate to some page (for example Blog) and then refresh the page. You do not get the JavaScript back.
What Scully does in an Angular project is to generate an index.html
file for each route.
This way not only I have my main index.html (in the root directory), but I also get a ./contact/index.html
and an ./about/index.html
and so on.