mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying fix for serviceworker
This commit is contained in:
@@ -779,7 +779,7 @@ hide mdi-action-visibility mdi-action-visibility-off
|
|||||||
|
|
||||||
.mega{
|
.mega{
|
||||||
padding: 6% 0px;
|
padding: 6% 0px;
|
||||||
height: 100%;
|
/* height: 100%; */
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background-color:#191919;
|
background-color:#191919;
|
||||||
@@ -1538,6 +1538,10 @@ nav ul li:hover, nav ul li.active {
|
|||||||
background-color: rgba(0,0,0,0.1);
|
background-color: rgba(0,0,0,0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.change_user_pass:hover {
|
||||||
|
background-color: initial;
|
||||||
|
}
|
||||||
|
|
||||||
.list-image, .list-suggested-image{
|
.list-image, .list-suggested-image{
|
||||||
width: 34%;
|
width: 34%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@
|
|||||||
<span class="right-span">Yes</span>
|
<span class="right-span">Yes</span>
|
||||||
</label></div></li>
|
</label></div></li>
|
||||||
<li class="change_user_pass hide">
|
<li class="change_user_pass hide">
|
||||||
<a href="#!" class="change_user_pass_btn btn waves-effect">Change password</a>
|
<a href="#!" class="change_user_pass_btn btn waves-effect blue">Change password</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
var version = 'v3.6';
|
var version = 'v3.7';
|
||||||
var CACHE_FILES = [
|
var CACHE_FILES = [
|
||||||
'/assets/html/offline.html',
|
'/assets/html/offline.html',
|
||||||
'/assets/manifest.json',
|
'/assets/manifest.json',
|
||||||
@@ -40,7 +40,8 @@ self.addEventListener('fetch', event => {
|
|||||||
(event.request.headers.get('accept').includes('*/*') &&
|
(event.request.headers.get('accept').includes('*/*') &&
|
||||||
(event.request.url.includes('localhost') || event.request.url.includes('zoff.no') || event.request.url.includes('zoff.me')))))) {
|
(event.request.url.includes('localhost') || event.request.url.includes('zoff.no') || event.request.url.includes('zoff.me')))))) {
|
||||||
event.respondWith(
|
event.respondWith(
|
||||||
fetch(event.request.url).catch(error => {
|
fetch(event.request.url, {redirect: 'manual'}).catch(error => {
|
||||||
|
console.log(error);
|
||||||
if(event.request.url.includes('manifest.json')){
|
if(event.request.url.includes('manifest.json')){
|
||||||
return caches.open(version + "::zoff").then(function(cache) {
|
return caches.open(version + "::zoff").then(function(cache) {
|
||||||
return cache.match("/assets/manifest.json");
|
return cache.match("/assets/manifest.json");
|
||||||
|
|||||||
Reference in New Issue
Block a user