From df71825ab784e194ebaab9966a2947714bde7fb0 Mon Sep 17 00:00:00 2001 From: Yasuaki Uechi Date: Fri, 6 Mar 2020 00:07:06 +0900 Subject: [PATCH] chore: add version --- web/src/serviceWorker.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/serviceWorker.ts b/web/src/serviceWorker.ts index 5c26c91..e54d87c 100644 --- a/web/src/serviceWorker.ts +++ b/web/src/serviceWorker.ts @@ -10,6 +10,8 @@ // To learn more about the benefits of this model and instructions on how to // opt-in, read https://bit.ly/CRA-PWA +const VERSION = 1; + const isLocalhost = Boolean( window.location.hostname === 'localhost' || // [::1] is the IPv6 localhost address.