[REQUIRED] Environment info
firebase-tools:
9.2.1
Platform:
macOS
[REQUIRED] Test case
- Unzip, and run
firebase emulators:start --only hosting --project your-project-id from within the directory
- Load
http://localhost:5000/
GET http://localhost:5000/__/firebase/8.2.3/firebase-app.js net::ERR_CONTENT_DECODING_FAILED 200 (OK)
firebase-issue-3041.zip - same repro files as #3041
[REQUIRED] Steps to reproduce
- Make index.html which contains:
<script src="/__/firebase/8.2.3/firebase-app.js"></script>
<script src="/__/firebase/8.2.3/firebase-analytics.js"></script>
<script src="/__/firebase/init.js"></script>
- Start the hosting emulator:
firebase emulators:start --only hosting
- Load
http://localhost:5000/ and inspect javascript errors
[REQUIRED] Expected behavior
firebase-app.js loads correctly
[REQUIRED] Actual behavior
GET http://localhost:5000/__/firebase/8.2.3/firebase-app.js net::ERR_CONTENT_DECODING_FAILED 200 (OK)
This does not seem to happen in production and only affects the emulator's response of the firebase libraries.
[REQUIRED] Environment info
firebase-tools:
9.2.1
Platform:
macOS
[REQUIRED] Test case
firebase emulators:start --only hosting --project your-project-idfrom within the directoryhttp://localhost:5000/GET http://localhost:5000/__/firebase/8.2.3/firebase-app.js net::ERR_CONTENT_DECODING_FAILED 200 (OK)firebase-issue-3041.zip - same repro files as #3041
[REQUIRED] Steps to reproduce
http://localhost:5000/and inspect javascript errors[REQUIRED] Expected behavior
firebase-app.jsloads correctly[REQUIRED] Actual behavior
This does not seem to happen in production and only affects the emulator's response of the firebase libraries.