{#if !on} {#if turning} {#if turning.state === "reverted" || turning.state === "failed"} {#snippet title()}Share links were not turned on. {turning?.reason?.message}{/snippet} {/if} {:else}

Share links are off for {hostname}.

Turning them on is a change to the host, checked like any other.

{#if problem}{/if}
{/if} {:else}

Anyone with this link can open the site without signing in, until it expires.

{#if underCaddy} {#snippet title()}Caddy is serving right now, so share links do not work: visitors with this link get the normal sign-in. The link works after switching back to Pingora, until it expires.{/snippet} {/if} {#if link?.warning}

{link.warning.message}

{/if} {#if problem}{#snippet title()}{problem}{/snippet}{/if} {#if link} {:else if minting}

Making the link…

{/if} {#if copied}

Copied

Expires on {longDate(link?.expires_at)}. To stop it sooner: Settings, Share links, Stop this link.

{:else} {/if} {#if refused}{/if} {#if copiedBefore && !copied}

The link you copied before is stopped. Copy this one.

{/if} mint()} options={[{ value: "1", label: "1 day" }, { value: "7", label: "7 days" }, { value: "30", label: "30 days" }]} />
mint()} onkeydown={(e) => { if (e.key === "Enter") { e.preventDefault(); void mint(); } }} aria-invalid={fieldErr?.field === "path_prefix" ? "true" : undefined} /> {#if fieldErr?.field === "path_prefix"}

{fieldErr.message}

{/if}

/ shares the whole site. Try /share/summer-2026 for one album.

{#if usingPassword}

This link asks for the password.

{:else if showPassword}
{#if fieldErr?.field === "password"}

{fieldErr.message}

{/if}

At least 8 characters. Send it to them separately.

{:else}
{/if} {/if}