Documentation
¶
Overview ¶
Package ui embeds the built admin console (web/admin). `make web` builds it into dist/app; without a build the console serves a placeholder page.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
Handler serves the single-page app mounted at prefix ("/admin/"): files that exist are served directly, every other path gets index.html so the client-side router can resolve it. base is where browsers reach prefix, prefix itself unless a gateway serves it under a path of its own: the page's <base> names it, and its scripts, styles and API calls are relative to it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.