gitoria

kunibert

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit3a8d93f93a8d93f9gitoria client: parse only JSON answers, accept a plain-text errorKunibert3a8d93f9/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

  • 3a8d93f9gitoria client: parse only JSON answers, accept a plain-text errorKunibert
  • c9b48bfeVendor Hybriel plugins; deploy ships bin/ from zig-outKunibert
  • a41ba15fKunibert: event intake, git cache, review runner, posting, linked tickets, deploy filesKunibert