When I refresh my website I get a 404. This is with Angular2, typescript and firebase.
I've deployed to firebaseapp with my Angular2 app.
Routes seem to change fine but when I refresh the browser it redirects me to 404 page.
When I refresh locally this doesn't happen.
Am I missing any route settings or Firebase settings?
This is my firebase.json file:
{
"firebase": "test",
"public": "src",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}