A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Housekeeping

+8 -8
+2 -2
src/Javascript/Workers/service.js
··· 30 30 .then(response => response.json()) 31 31 .then(tree => { 32 32 const filteredTree = tree.filter(t => !exclude.find(u => u === t)) 33 - const whatToCache = [""].concat(filteredTree).map(p => "/" + p) 34 - return caches.open(KEY).then(c => c.addAll(whatToCache)) 33 + const whatToCache = [ "" ].concat(filteredTree) 34 + return caches.open(KEY).then(c => Promise.all(whatToCache.map(x => c.add(x)))) 35 35 }) 36 36 37 37 event.waitUntil(promise)
+3 -3
src/Static/Manifests/manifest.json
··· 6 6 "author": "Steven Vandevelde <icid.asset@gmail.com>", 7 7 "icons": [ 8 8 { 9 - "src": "https://diffuse.sh/images/icon.png", 9 + "src": "images/icon.png", 10 10 "sizes": "192x192", 11 11 "type": "image/png" 12 12 }, 13 13 { 14 - "src": "https://diffuse.sh/images/icon.png", 14 + "src": "images/icon.png", 15 15 "sizes": "512x512", 16 16 "type": "image/png" 17 17 } 18 18 ], 19 - "start_url": "https://diffuse.sh/", 19 + "start_url": ".", 20 20 "theme_color": "#1E191A", 21 21 "background_color": "#1E191A", 22 22 "display": "standalone"
+3 -3
src/Static/Manifests/site.webmanifest
··· 2 2 "name": "Diffuse", 3 3 "icons": [ 4 4 { 5 - "src": "/images/icon.png", 5 + "src": "images/icon.png", 6 6 "sizes": "192x192", 7 7 "type": "image/png" 8 8 }, 9 9 { 10 - "src": "/images/icon.png", 10 + "src": "images/icon.png", 11 11 "sizes": "512x512", 12 12 "type": "image/png" 13 13 } ··· 15 15 "theme_color": "#1E191A", 16 16 "background_color": "#1E191A", 17 17 "display": "standalone", 18 - "start_url": "/" 18 + "start_url": "." 19 19 }