We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b742523 + 4a23e7c commit 7f84413Copy full SHA for 7f84413
app/javascript/controllers/notifications_controller.js
@@ -60,7 +60,7 @@ export default class extends Controller {
60
}
61
62
get #serviceWorkerRegistration() {
63
- return navigator.serviceWorker.getRegistration(window.location.host)
+ return navigator.serviceWorker.getRegistration(window.location.origin)
64
65
66
#registerServiceWorker() {
0 commit comments