bug fix in service workers

This commit is contained in:
Hesabix 2025-03-21 19:22:29 +00:00
parent d1e1d2fe7d
commit ecce2edf45
2 changed files with 11 additions and 11 deletions

View file

@ -13308,35 +13308,35 @@ fieldset:disabled .btn {
font-family: Inter; font-family: Inter;
font-style: normal; font-style: normal;
font-weight: 300; font-weight: 300;
src: local(""), url(/fonts/inter/inter-v11-latin-300.woff2) format("woff2") src: local(""), url(/u/fonts/inter/inter-v11-latin-300.woff2) format("woff2")
} }
@font-face { @font-face {
font-family: Inter; font-family: Inter;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: local(""), url(/fonts/inter/inter-v11-latin-regular.woff2) format("woff2") src: local(""), url(/u/fonts/inter/inter-v11-latin-regular.woff2) format("woff2")
} }
@font-face { @font-face {
font-family: Inter; font-family: Inter;
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 500;
src: local(""), url(/fonts/inter/inter-v11-latin-500.woff2) format("woff2") src: local(""), url(/u/fonts/inter/inter-v11-latin-500.woff2) format("woff2")
} }
@font-face { @font-face {
font-family: Inter; font-family: Inter;
font-style: normal; font-style: normal;
font-weight: 600; font-weight: 600;
src: local(""), url(/fonts/inter/inter-v11-latin-600.woff2) format("woff2") src: local(""), url(/u/fonts/inter/inter-v11-latin-600.woff2) format("woff2")
} }
@font-face { @font-face {
font-family: Inter; font-family: Inter;
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
src: local(""), url(/fonts/inter/inter-v11-latin-700.woff2) format("woff2") src: local(""), url(/u/fonts/inter/inter-v11-latin-700.woff2) format("woff2")
} }
b, b,
@ -30339,7 +30339,7 @@ a.text-xplay-lighter:hover {
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-display: block; font-display: block;
src: url(/fonts/fontawesome/fa-regular-400.woff2) format("woff2"), url(/fonts/fontawesome/fa-regular-400.ttf) format("truetype") src: url(/u/fonts/fontawesome/fa-regular-400.woff2) format("woff2"), url(/u/fonts/fontawesome/fa-regular-400.ttf) format("truetype")
} }
.fa-regular, .fa-regular,
@ -30358,7 +30358,7 @@ a.text-xplay-lighter:hover {
font-style: normal; font-style: normal;
font-weight: 900; font-weight: 900;
font-display: block; font-display: block;
src: url(/fonts/fontawesome/fa-solid-900.woff2) format("woff2"), url(/fonts/fontawesome/fa-solid-900.ttf) format("truetype") src: url(/u/fonts/fontawesome/fa-solid-900.woff2) format("woff2"), url(/u/fonts/fontawesome/fa-solid-900.ttf) format("truetype")
} }
.fa-solid, .fa-solid,
@ -30377,7 +30377,7 @@ a.text-xplay-lighter:hover {
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-display: block; font-display: block;
src: url(/fonts/fontawesome/fa-brands-400.woff2) format("woff2"), url(/fonts/fontawesome/fa-brands-400.ttf) format("truetype") src: url(/u/fonts/fontawesome/fa-brands-400.woff2) format("woff2"), url(/u/fonts/fontawesome/fa-brands-400.ttf) format("truetype")
} }
.fa-brands, .fa-brands,
@ -32384,8 +32384,8 @@ a.text-xplay-lighter:hover {
@font-face { @font-face {
font-family: simple-line-icons; font-family: simple-line-icons;
src: url(/fonts/simple-line-icons/Simple-Line-Icons.eot?v=2.4.0); src: url(/u/fonts/simple-line-icons/Simple-Line-Icons.eot?v=2.4.0);
src: url(/fonts/simple-line-icons/Simple-Line-Icons.eot?v=2.4.0#iefix) format("embedded-opentype"), url(/fonts/simple-line-icons/Simple-Line-Icons.woff2?v=2.4.0) format("woff2"), url(/fonts/simple-line-icons/Simple-Line-Icons.ttf?v=2.4.0) format("truetype"), url(/fonts/simple-line-icons/Simple-Line-Icons.woff?v=2.4.0) format("woff"), url(/fonts/simple-line-icons/Simple-Line-Icons.svg?v=2.4.0#simple-line-icons) format("svg"); src: url(/u/fonts/simple-line-icons/Simple-Line-Icons.eot?v=2.4.0#iefix) format("embedded-opentype"), url(/u/fonts/simple-line-icons/Simple-Line-Icons.woff2?v=2.4.0) format("woff2"), url(/u/fonts/simple-line-icons/Simple-Line-Icons.ttf?v=2.4.0) format("truetype"), url(/u/fonts/simple-line-icons/Simple-Line-Icons.woff?v=2.4.0) format("woff"), url(/u/fonts/simple-line-icons/Simple-Line-Icons.svg?v=2.4.0#simple-line-icons) format("svg");
font-weight: 400; font-weight: 400;
font-style: normal font-style: normal
} }

View file

@ -1,6 +1,6 @@
if('serviceWorker' in navigator) { if('serviceWorker' in navigator) {
navigator.serviceWorker navigator.serviceWorker
.register('/service-worker.js').then(registration => { .register('/u/service-worker.js').then(registration => {
console.log('Service worker registration succeeded:' , registration); console.log('Service worker registration succeeded:' , registration);
}).catch(err => { }).catch(err => {
console.log('Service worker registration failed:' , err); console.log('Service worker registration failed:' , err);