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

Configure Feed

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

Add missing things to service worker

+6 -9
+2 -8
Makefile
··· 18 18 # Build tasks 19 19 # 20 20 21 - build: clean elm system vendor 21 + build: clean elm system 22 22 @echo "> Build completed ⚡" 23 23 24 24 25 - build-prod: clean elm-prod system vendor 25 + build-prod: clean elm-prod system 26 26 @echo "> Production build completed 🛳" 27 27 28 28 ··· 46 46 system: 47 47 @echo "> Compiling system" 48 48 @stack build && stack exec build 49 - 50 - 51 - vendor: 52 - @echo "> Copying vendor things" 53 - @mkdir -p $(BUILD_DIR)/vendor/ 54 - @cp -rf $(VENDOR_DIR)/ $(BUILD_DIR)/vendor/ 55 49 56 50 57 51 #
+1 -1
src/Javascript/Workers/service.js
··· 29 29 .then(response => response.json()) 30 30 .then(tree => { 31 31 const filteredTree = tree.filter(t => !exclude.find(u => u === t)) 32 - const whatToCache = [ "", ".", "/" ].concat(filteredTree) 32 + const whatToCache = [ "", ".", "/", "application.js", "brain.js" ].concat(filteredTree) 33 33 return caches.open(KEY).then(c => Promise.all(whatToCache.map(x => c.add(x)))) 34 34 }) 35 35
+3
system/Build/Main.hs
··· 56 56 | Images 57 57 | Js 58 58 | Manifests 59 + | Vendor 59 60 -- About Pages 60 61 | AboutCss 61 62 | AboutPages ··· 71 72 , ( Images, list "Static/Images/**/*.*" ) 72 73 , ( Js, list "Javascript/**/*.js" ) 73 74 , ( Manifests, list "Static/Manifests/*.*" ) 75 + , ( Vendor, list "../vendor/*.*" ) 74 76 75 77 -- About Pages 76 78 , ( AboutPages, list "Static/About/**/*.md" ) ··· 92 94 flow _ (Fonts, dict) = prefixDirname "fonts/" dict 93 95 flow _ (Hosting, dict) = dict 94 96 flow _ (Images, dict) = prefixDirname "images/" dict 97 + flow _ (Vendor, dict) = prefixDirname "vendor/" dict 95 98 96 99 97 100 {-| Javascript -}