gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit28a82fa228a82fa2jukebox: README, STATUS, LOG, DECISIONSmre28a82fa2/plugins/web/server.hl

526 B

  1. // hl:web's SERVER half for the names an app imports by brace (`import { sendPush } from 'hl:web'`): the
  2. // browser half (client.hl) declares the page's names, and a component that imports sendPush binds it there
  3. // to a refusal — the call belongs in an `on server` handler or a route function. The work is push.hl's.
  4. import { sendPush as send } from './push.hl'
  5. // Send one Web Push (ticket #173): see push.hl and the README's "Web Push"
  6. sendPush(subscription, payload, opts) {
  7. return send(subscription, payload, opts)
  8. }

Branches

Latest commits

  • 28a82fa2jukebox: README, STATUS, LOG, DECISIONSmre
  • d13987dfjukebox: library scanner, ID3 reader, mpackdb database and JSON API, with fixtures and a gatemre