Open oyeanuj opened 6 years ago
I set up a deployment of the repo to Heroku, and see the following errors in Chrome:
Uncaught (in promise) DOMException: Failed to register a ServiceWorker: The script has an unsupported MIME type ('text/html').
You can reproduce it here: https://react-universally-test.herokuapp.com/
What is the best way for us to set the MIME Types for sw.js?
sw.js
I set up a deployment of the repo to Heroku, and see the following errors in Chrome:
You can reproduce it here: https://react-universally-test.herokuapp.com/
What is the best way for us to set the MIME Types for
sw.js
?