fix: Add more cached files to sw
All checks were successful
Build Docker / BuildImage (push) Successful in 50s

This commit is contained in:
Nathan Woodburn 2025-01-29 20:53:46 +11:00
parent 2fbf21eaaf
commit de476eb7ab
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 15 additions and 2 deletions

View File

@ -6,7 +6,20 @@ importScripts('https://storage.googleapis.com/workbox-cdn/releases/5.1.2/workbox
const PRECACHE_ASSETS = [ const PRECACHE_ASSETS = [
'/', '/',
'/404' '/404',
'/assets/bootstrap/css/bootstrap.min.css',
'https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic&display=swap',
'https://fonts.googleapis.com/css?family=Cabin:700&display=swap',
'https://fonts.googleapis.com/css?family=Anonymous+Pro&display=swap',
'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700',
'/assets/css/styles.min.css',
'/assets/css/404.min.css',
'/assets/css/profile.min.css',
'/assets/bootstrap/js/bootstrap.min.js',
'/assets/js/script.min.js',
'/assets/js/404.min.js',
'/assets/img/favicon/favicon-16x16.png',
'/assets/img/favicon/android-chrome-192x192.png'
] ]

View File

@ -1 +1 @@
const letters="ABCDEFGHIJKLMNOPQRSTUVWXYZ/.?!@#$%^&*()_+";let interval=null,interval2=null,interval3=null;window.onload=t=>{target=document.querySelector(".nathanwoodburn");let e=0,n="NATHAN.WOODBURN/";clearInterval(interval),interval=setInterval((()=>{target.innerText=target.innerText.split("").map(((t,r)=>r<e?n[r]:letters[Math.floor(41*Math.random())])).join(""),e>=n.length&&clearInterval(interval),e+=1/3}),30)},document.querySelector(".copyright").onmouseover=t=>{let e=0,n="Copyright © Nathan.Woodburn/ 2024";console.log(n),clearInterval(interval2),interval2=setInterval((()=>{t.target.innerText=t.target.innerText.split("").map(((t,r)=>r<e?n[r]:letters[Math.floor(41*Math.random())])).join(""),e>=n.length&&clearInterval(interval2),e+=1/3}),10)}; const letters="ABCDEFGHIJKLMNOPQRSTUVWXYZ/.?!@#$%^&*()_+";let interval=null,interval2=null,interval3=null;window.onload=t=>{if(target=document.querySelector(".nathanwoodburn"),target){let t=0,e="NATHAN.WOODBURN/";clearInterval(interval),interval=setInterval((()=>{target.innerText=target.innerText.split("").map(((r,n)=>n<t?e[n]:letters[Math.floor(41*Math.random())])).join(""),t>=e.length&&clearInterval(interval),t+=1/3}),30)}},document.querySelector(".copyright").onmouseover=t=>{let e=0,r="Copyright © Nathan.Woodburn/ 2024";console.log(r),clearInterval(interval2),interval2=setInterval((()=>{t.target.innerText=t.target.innerText.split("").map(((t,n)=>n<e?r[n]:letters[Math.floor(41*Math.random())])).join(""),e>=r.length&&clearInterval(interval2),e+=1/3}),10)};