Something went wrong. Try again.
A music player that connects to your cloud/distributed storage. forked from tokono.ma/diffuse
Something went wrong. Try again.
123456789101112export function channel() { const bc = new BroadcastChannel(`diffuse-${location.hostname}`)
bc.addEventListener("message", event => { switch (event.data) { case "PING": return bc.postMessage("PONG") } })
return bc}