В firebase.json есть ли способ переписать (не перенаправить) все запросы в соответствующий файл. html, но оставить другие расширения?
firebase.json
Например, https://example.com/foo будет таким же, как https://example.com/foo.html.
https://example.com/foo
https://example.com/foo.html
Но https://example.com/data будет не таким же, как https://example.com/data.xml.
https://example.com/data
https://example.com/data.xml
Это опция cleanUrls (как в документах ) в firebase.json:
cleanUrls
{ "hosting": { "cleanUrls": true } }