Skip to content

Function: deckBase()

deckBase(slug): string

Defined in: path-binding.ts:66

The deck's mount base, sniffed from the live URL — host-agnostic on purpose (the two-host rule: ask at runtime, never bake a define). A gallery mounts the deck at <BASE>/<slug>; standalone dev serves it at "/" and the slug never appears, so the base is "".

Parameters

slug

string

Returns

string