From ba3dd7bc5a4965910a7991c01880774d814dcee6 Mon Sep 17 00:00:00 2001 From: abcxj123 Date: Tue, 9 Jul 2024 10:42:03 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Service=20worker=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 462adcf..215e74b 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ // Register a service worker hosted at the root of the // site using the default scope. navigator.serviceWorker - .register("/sw.js") + .register("./sw.js") .then((registration) => { console.log("Service worker registration succeeded:", registration); })