firebase - Url rewrite with a dash in path does not properly redirect (404 error) -
I am using firebase hosting, and I rewrite the appropriate url in firebase.json as follows:
"rewrite": [{"source": "**", "destination": "/index.html"}] It seems, because all the route should go through the index as it should. However, when I have a firebase object ID in the way that starts "-" it throws 404. So return to my-cool-app.firebaseapp.com/profiles/-JfZA03uAJI7rpqQg0sG 404 for example. However, if I delete the dash in the ID, the path rewrites properly.
What can be the problem here?
Comments
Post a Comment