status/service-worker-index.html

18 lines
3.3 KiB
HTML
Raw Normal View History

<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <meta content="width=device-width,initial-scale=1" name=viewport> <meta content=#333333 name=theme-color> <base href=/status/ > <link href=manifest.json rel=manifest crossorigin=use-credentials> <script>__SAPPER__={baseUrl:"/status",preloaded:[void 0]};if('serviceWorker' in navigator)navigator.serviceWorker.register('/status/service-worker.js');(function(){try{eval("async function x(){}");var main="/status/client/client.1209b358.js"}catch(e){main="/status/client/legacy/client.08553a5f.js"};var s=document.createElement("script");try{new Function("if(0)import('')")();s.src=main;s.type="module";s.crossOrigin="use-credentials";}catch(e){s.src="/status/client/shimport@2.0.5.js";s.setAttribute("data-main",main);}document.head.appendChild(s);}());</script> <link href=client/client-31a52aa5.css rel=stylesheet><link href=client/createOctokit-a85f76c7.css rel=stylesheet><link href=client/index-34afeb8b.css rel=stylesheet> <link href=https://ethanrusz.github.io/status/themes/dark.css rel=stylesheet><link href=https://ethanrusz.github.io/status/global.css rel=stylesheet><link href=https://raw.githubusercontent.com/upptime/upptime/master/assets/upptime-icon.svg rel=icon type=image/svg><link href=/logo-192.png rel=icon type=image/png> <link href=/status/client/client.1209b358.js rel=modulepreload as=script crossorigin=use-credentials><link href=/status/client/client-31a52aa5.css rel=preload as=style><link href=/status/client/index.78bc68f2.js rel=modulepreload as=script crossorigin=use-credentials><link href=/status/client/createOctokit.c7795299.js rel=modulepreload as=script crossorigin=use-credentials><link href=/status/client/inject_styles.803b7e80.js rel=modulepreload as=script crossorigin=use-credentials><link href=/status/client/createOctokit-a85f76c7.css rel=preload as=style><link href=/status/client/index-34afeb8b.css rel=preload as=style></head> <body> <div id=sapper> <nav class=svelte-a08hsz><div class="svelte-a08hsz container"><div><a href=https://ethanrusz.github.io/status class="svelte-a08hsz logo"><img alt="" class=svelte-a08hsz src=https://raw.githubusercontent.com/upptime/upptime.js.org/master/static/img/icon.svg> <div>Ruszdev Status</div></a></div> <ul class=svelte-a08hsz><li><a href=https://ethanrusz.github.io/status class=svelte-a08hsz target=_self>Status</a> <li><a href=https://github.com/ethanrusz/status class=svelte-a08hsz target=_self>GitHub</a> <li><a href=https://rusz.dev/about class=svelte-a08hsz target=_self>About</a> </li> </ul></div> </nav> <main class=container></main> <footer class=svelte-jbr799><p>This page is <a href=https://github.com/ethanrusz/status>open source</a>, powered by <a href=https://upptime.js.org>Upptime</a></p> </footer></div> <script> try {
2023-10-28 01:46:50 -04:00
if (typeof window !== "undefined" && window.navigator && navigator.serviceWorker) {
navigator.serviceWorker.getRegistrations().then(function (registrations) {
for (let registration of registrations) {
registration.unregister();
}
});
}
if (typeof window !== "undefined" && "caches" in window) {
caches.keys().then(function (keyList) {
return Promise.all(
keyList.map(function (key) {
return caches.delete(key);
})
);
});
}
} catch (error) {} </script>