Skip to content

Commit

Permalink
fix: service worker has redirections
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite committed Feb 26, 2024
1 parent 08aefde commit 4aca7bc
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion includes/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
2 changes: 1 addition & 1 deletion includes/version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
$version = "v1.8.0";
$version = "v1.8.1";
?>
1 change: 0 additions & 1 deletion login.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
<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">
Expand Down
1 change: 0 additions & 1 deletion registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ function validate($value) {
<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">
Expand Down
6 changes: 0 additions & 6 deletions service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 4aca7bc

Please sign in to comment.