From 1117fe352531a6d8d0d350df31e62097146d1943 Mon Sep 17 00:00:00 2001 From: Ondrej Synacek Date: Tue, 5 Nov 2019 21:11:00 +0100 Subject: [PATCH] remove testing method from script file --- lib/public/scripts.js | 1 - lib/public/service-worker.js | 4 ++-- lib/views/index.ejs | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/public/scripts.js b/lib/public/scripts.js index 67561cb..c581220 100644 --- a/lib/public/scripts.js +++ b/lib/public/scripts.js @@ -199,7 +199,6 @@ }).catch(reject) }) } - window.postURL = postURL const form = document.querySelector('form') const submitButton = document.querySelector("#submit") diff --git a/lib/public/service-worker.js b/lib/public/service-worker.js index 785812c..705ffa5 100644 --- a/lib/public/service-worker.js +++ b/lib/public/service-worker.js @@ -1,4 +1,4 @@ -// Worker v7 +// Worker v8 self.addEventListener('install', (event) => { event.waitUntil( @@ -6,7 +6,7 @@ self.addEventListener('install', (event) => { return cache.addAll([ '/', '/favicon.ico', - '/scripts.js?3', + '/scripts.js?4', '/style.css?5', '/about?2', '/icon-512.png', diff --git a/lib/views/index.ejs b/lib/views/index.ejs index 10a8e7b..f6ea0e4 100644 --- a/lib/views/index.ejs +++ b/lib/views/index.ejs @@ -79,6 +79,6 @@ About - +