Hey All,
I'm trying to integrate UA with my VueJS App, and I keep getting this error when i'm trying to register:
{
- canRegister: true
- channel: null
- isSupported: true
- onchannel: (...)
- onpush: (...)
- ontags: (...)
- _workerRegistration: Promise
- __proto__: Promise
- [[PromiseStatus]]: "rejected"
- [[PromiseValue]]: DOMException
- code: 18
- message: "Failed to register a ServiceWorker: The script has an unsupported MIME type ('text/html')."
- name: "SecurityError" . }
does someone has an idea how can I solve it?
Thanks.
Comments
1 comment