Skip to main content

Module dashboard

Module dashboard 

Source

Modules§

base_path
Reverse-proxy subpath support for lean-ctx dashboard --base-path (#355).
routes
HTTP route handlers for the LeanCTX dashboard API.

Functions§

add_nonce_to_inline_scripts
Adds nonce="..." to all inline <script> tags (those without a src= attribute). External scripts (<script src="...">) are left untouched.
start
Start the dashboard server — the single local entry point that hosts the Cockpit — or open the one already running. view is the Cockpit view to open (a hash route such as savings); None opens its start page.