frontend

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(basePath string) http.Handler

Handler returns an http.Handler that serves the embedded SPA assets. basePath is the URL prefix where the console is mounted (e.g. "/" or "/console/"). Unknown paths fall back to index.html so client-side routing works on refresh. The base path is injected into index.html at serve time so React Router can pick it up without a rebuild.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL