ilan-schemoul / meteor-service-worker

An universal service worker for meteor apps
MIT License
137 stars 26 forks source link

Error: unsupported MIME type ('text/html') #15

Closed Rongky closed 5 years ago

Rongky commented 6 years ago

hi,

can't run service worker due to this error:

ServiceWorker registration failed:  DOMException: Failed to register a ServiceWorker: The script has an unsupported MIME type ('text/html').

cannot seem to find any workaround for this. i'm in ubuntu 16.04 and meteor 1.5.1.

tnx.