Lower the amount of cache routes at SW installation

This commit is contained in:
Eduard Urbach 2018-04-18 01:33:01 +02:00
parent 7af6ec2790
commit fe65407e7b

View File

@ -319,12 +319,10 @@ class MyServiceWorker {
async installCache() {
let urls = [
"/",
"/_/",
"/scripts",
"/styles",
"/manifest.json",
"https://media.notify.moe/images/elements/noise-strong.png",
"https://fonts.gstatic.com/s/ubuntu/v11/4iCs6KVjbNBYlgoKfw72.woff2"
]
let promises = []