In firebase.json
, is there a way to rewrite (not redirect) all requests to the corresponding .html file but leave other extensions?
for example, https://example.com/foo
will be the same as https://example.com/foo.html
.
But https://example.com/data
will not be the same as https://example.com/data.xml
.
This is the cleanUrls
option (as in the docs) in firebase.json
:
{
"hosting": {
"cleanUrls": true
}
}