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.

Closes #325

+6 -4
+1 -1
Justfile
··· 44 44 {{NPM_DIR}}/.bin/tailwind \ 45 45 --input {{SRC_DIR}}/Css/Application.css \ 46 46 --output {{BUILD_DIR}}/application.css \ 47 - --content "{{SRC_DIR}}/Static/Html/**/*.*,{{SRC_DIR}}/Applications/UI/**/*.elm,{{SRC_DIR}}/Applications/UI.elm,{{SRC_DIR}}/Library/**/*.elm" \ 47 + --content "{{SRC_DIR}}/Static/Html/**/*.*,{{SRC_DIR}}/Applications/UI/**/*.elm,{{SRC_DIR}}/Applications/UI.elm,{{SRC_DIR}}/Library/**/*.elm,{{SRC_DIR}}/Javascript/**/*.js" \ 48 48 --config {{SYSTEM_DIR}}/Css/Tailwind.js \ 49 49 --postcss {{SYSTEM_DIR}}/Css/PostCSS.js \ 50 50 --jit \
+5 -3
src/Javascript/index.js
··· 36 36 navigator.serviceWorker.register("service-worker.js").then( 37 37 initialise, 38 38 err => { 39 + const isFirefox = navigator.userAgent.toLowerCase().includes("firefox") 40 + 39 41 console.error(err) 40 42 return failure( 41 - location.protocol === "https:" 42 - ? "Failed to start the service worker." 43 + location.protocol === "https:" || location.hostname === "localhost" 44 + ? "Failed to start the service worker." + (isFirefox ? " Make sure the setting <strong>Delete cookies and site data when Firefox is closed</strong> is off, or Diffuse's domain is added as an exception." : "") 43 45 : "Failed to start the service worker, try using HTTPS." 44 46 ) 45 47 } ··· 100 102 <img src="../images/diffuse-light.svg" /> 101 103 </a> 102 104 103 - <p class="opacity-60"> 105 + <p class="max-w-sm opacity-60"> 104 106 ${text} 105 107 </p> 106 108 `