I'm getting this error. Can you please help me?
Unable to get permission to notify. FirebaseError: Messaging: We are unable to register the default service worker. Failed to register a ServiceWorker for scope ('localhost:4200/firebase-cloud-mess...) with script ('localhost:4200/firebase-messaging-... A bad HTTP response code (404) was received when fetching the script. (messaging/failed-service-worker-registration).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm getting this error. Can you please help me?
Unable to get permission to notify. FirebaseError: Messaging: We are unable to register the default service worker. Failed to register a ServiceWorker for scope ('localhost:4200/firebase-cloud-mess...) with script ('localhost:4200/firebase-messaging-... A bad HTTP response code (404) was received when fetching the script. (messaging/failed-service-worker-registration).