From 4aca7bcb3cdbb77958db8783c4f088df131db645 Mon Sep 17 00:00:00 2001 From: Miguel Ribeiro Date: Mon, 26 Feb 2024 23:31:11 +0100 Subject: [PATCH] fix: service worker has redirections --- includes/header.php | 2 +- includes/version.php | 2 +- login.php | 1 - registration.php | 1 - service-worker.js | 6 ------ 5 files changed, 2 insertions(+), 10 deletions(-) diff --git a/includes/header.php b/includes/header.php index 6a342dd..3022517 100644 --- a/includes/header.php +++ b/includes/header.php @@ -33,7 +33,7 @@ "/> - + > diff --git a/includes/version.php b/includes/version.php index 6dc77e0..5b0e218 100644 --- a/includes/version.php +++ b/includes/version.php @@ -1,3 +1,3 @@ \ No newline at end of file diff --git a/login.php b/login.php index ceddd64..0621312 100644 --- a/login.php +++ b/login.php @@ -83,7 +83,6 @@ if (isset($_POST['username']) && isset($_POST['password'])) { > -
diff --git a/registration.php b/registration.php index fad62b2..b521647 100644 --- a/registration.php +++ b/registration.php @@ -99,7 +99,6 @@ if (isset($_POST['username'])) { > -
diff --git a/service-worker.js b/service-worker.js index 32b0d90..2116dfd 100644 --- a/service-worker.js +++ b/service-worker.js @@ -2,12 +2,6 @@ self.addEventListener('install', function(event) { event.waitUntil( caches.open('my-cache').then(function(cache) { return cache.addAll([ - '.', - 'index.php', - 'stats.php', - 'settings.php', - 'about.php', - 'endpoints/subscriptions/get.php', 'styles/styles.css', 'styles/dark-theme.css', 'styles/login.css',