I implemented a service worker for notifications on chrome.
I checked everything - all scripts are in root, the keys are well implemented. However, I do not get prompted to allow notifs.
Console output reads:
GET https://mydomain/service-worker.js net::ERR_FILE_EXISTS Note: I do have the correct URL (just changed it here).
What causes the service worker error? How do I fix this?
There is no prompt asking to allow push to be received. Where is the bug found?
Please sign in to leave a comment.