From 72721992a98fb44c55cdb510f9800b7ff933eec7 Mon Sep 17 00:00:00 2001 From: Josh Kasten Date: Thu, 25 Feb 2021 21:02:59 -0800 Subject: [PATCH 1/5] Added base tag to sandbox to reproduce issue * The results in the following warning after accepting notification permissions * [Service Worker Status] Error Checking service worker registration / DOMException: Failed to get a ServiceWorkerRegistration: The origin of the provided documentURL ('https://www.example.com') does not match the current origin ('https://localhost:4001'). * Followed by this error: * [Worker Messenger] [Page -> SW] Could not get ServiceWorkerRegistration to postMessage! --- express_webpack/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/express_webpack/index.html b/express_webpack/index.html index a160c559f..cb01ce13c 100644 --- a/express_webpack/index.html +++ b/express_webpack/index.html @@ -1,5 +1,8 @@ + +