Is there a way to enable CORS for REST endpoints, as stated here and here? It looks like Firebase no longer adds them by default. It would be helpful for apps that don't need realtime connectivity or cant use websockets.
Here's a REST request to Firebase. If you check the response, there are no cors headers: https://samplechat.firebaseio-demo.com/users/jack/name.json