Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.
fix: service worker has redirections
Miguel Ribeiro4aca7bcb3cdb
diff --git a/includes/header.php b/includes/header.phpindex 6a342dd..3022517 100644--- a/includes/header.php+++ b/includes/header.php@@ -33,7 +33,7 @@<meta name="theme-color" content="<?= $theme == "light" ? "#FFFFFF" : "#222222" ?>"/><link rel="icon" type="image/png" href="images/icon/favicon.ico" sizes="16x16"><link rel="apple-touch-icon" sizes="180x180" href="images/icon/apple-touch-icon.png">- <link rel="manifest" href="manifest.json">+ <link rel="manifest" href="manifest.json" crossorigin="use-credentials"><link rel="stylesheet" href="styles/styles.css?<?= $version ?>"><link rel="stylesheet" href="styles/dark-theme.css?<?= $version ?>" id="dark-theme" <?= $theme == "light" ? "disabled" : "" ?>><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Barlow:300,400,500,600,700">diff --git a/includes/version.php b/includes/version.phpindex 6dc77e0..5b0e218 100644--- a/includes/version.php+++ b/includes/version.php@@ -1,3 +1,3 @@<?php- $version = "v1.8.0";+ $version = "v1.8.1";?>\ No newline at end of filediff --git a/login.php b/login.phpindex ceddd64..0621312 100644--- a/login.php+++ b/login.php@@ -83,7 +83,6 @@ if (isset($_POST['username']) && isset($_POST['password'])) {<link rel="stylesheet" href="styles/login.css?<?= $version ?>"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Barlow:300,400,500,600,700"><link rel="stylesheet" href="styles/login-dark-theme.css?<?= $version ?>" id="dark-theme" <?= $theme == "light" ? "disabled" : "" ?>>- <script type="text/javascript" src="scripts/all.js?<?= $version ?>"></script></head><body><div class="content">diff --git a/registration.php b/registration.phpindex fad62b2..b521647 100644--- a/registration.php+++ b/registration.php@@ -99,7 +99,6 @@ if (isset($_POST['username'])) {<link rel="stylesheet" href="styles/login-dark-theme.css?<?= $version ?>" id="dark-theme" <?= $theme == "light" ? "disabled" : "" ?>><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Barlow:300,400,500,600,700"><script type="text/javascript" src="scripts/registration.js?<?= $version ?>"></script>- <script type="text/javascript" src="scripts/all.js?<?= $version ?>"></script></head><body><div class="content">diff --git a/service-worker.js b/service-worker.jsindex 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',