Settings

{#each TABS as t, i (t.id)} {/each}
{#if problem} (problem = null)}>{#snippet title()}{problem}{/snippet}{/if}
{#if tab === "general"}

Routes repository

{settings?.repo ? `${settings.repo.name} · ${settings.repo.last_push_at ? "pushed " + whenInline(settings.repo.last_push_at, app.now) : "not pushed yet"}` : "No place to push to is set up."}

Health watch after apply

{settings?.watch_seconds ?? app.overview?.site?.watch_seconds ?? 60} seconds

Signed in

{viewer ? (viewer.via === "authelia" ? `${viewer.name} through Authelia` : viewer.via === "session" ? viewer.name : `API token "${viewer.name}"`) : "Not signed in"}

{#if app.overview?.site?.auth_logout_url}

Sign out

{/if} {:else if tab === "team"} {:else if tab === "api"}

API tokens

Fabrica needs a previews-only token: it can open and close branch previews and touch nothing else. Keep it in the Custos team vault.

The API listens on 127.0.0.1 only. Ianitor keeps a hash of each token, never the token.

{#if tokens.length === 0}

No API tokens

Scripts and other Domi apps use a token to talk to Ianitor.

{:else} {/if} {:else if tab === "share-links"}

Share links

{#if active.length}{/if}
{#if app.overview?.engine.running === "caddy"} {#snippet title()}Caddy is serving, so these links do not work right now. They work again after switching back to Pingora.{/snippet} {/if} {#if confirmStopAll}

Stop all {active.length} active links? Every link made so far stops working. New ones work as usual.

{/if} {#if links.length === 0}

No share links

Make one from a host's menu (⋯), Share link.

{:else} {#if ended.length}
Ended ({ended.length})
    {#each ended as l (l.id)}
  • {l.hostname}{l.path_prefix !== "/" ? l.path_prefix : ""}{l.state} {shortDate(l.expires_at)}
  • {/each}
{/if} {/if} {:else}

Ianitor Domi 0.2.0

MPL-2.0

Built, tested and signed by Fabrica Domi

Source on Gitea

{/if}
{#if made} closeToken()}>

Copy it now and save it in Custos.

Ianitor cannot show it again; if it is lost, make a new one and revoke this one.

(e.currentTarget as HTMLInputElement).select()} />
{#if nameErr}

{nameErr}

{/if}

Rename it now or later, so you know what uses it.

{#if tokenCopied}

Copied. Paste it into Custos now. Ianitor cannot show it again.

{/if}

{made.expires_at ? `Expires on ${longDate(made.expires_at, false)}.` : "Never expires."}

{#if askClose}

Close without copying? The token cannot be shown again.

{/if} {#snippet footer()}{/snippet}
{/if}