Explorer

html-ui.deploy-fly

description
Deploys the public definy server (html-ui.fly-handle, html-ui.fly-scheduled) to the definy host on fly.io (docs/fly-io.md). Set the value on the page of html-ui.fly-deploy-token first
type
@wasi.io
expression
@definy.deploy-node-host(
  url: "https://definy-html-narumincho.fly.dev",
  api_token: @html-ui.fly-deploy-token,
  cron: "* * * * *",
  handler: quote({
    fetch: fn(request$0) =>
      @html-ui.fly-handle(request: $0),
    scheduled: fn(time_ms$1) =>
      @html-ui.fly-scheduled(time_ms: $1)
  })
)
visibility
public
html-ui.deploy-fly (project html-ui, branch edit-check, snapshot FWBeS680eOlm6c2NOnWcarkR0iM2Jt6ap5-Rv0zDiXk)
id: TeVy3aSXAtW44Wds-99hltnH0Zpg2PKS3YJX5Vu9zmk
content hash: xdMLQlc2H77g-fermKJgzKS2HpJINrh4mIeFEyvHtdA

Run in this browser

Compiles and runs the whole program in this browser. HTTP requests are sent by this browser, so servers that do not allow CORS (such as the Cloudflare API) cannot be reached. The secrets are the values entered in this browser.