serve
Call Signature
Section titled “Call Signature”function serve(options): Promise<RunningServer>;Defined in: src/cli/index.ts:633
The serve command: read the common env (PORT, BASE_PATH, TITLE,
LOGO_URL, READONLY), warn on AUTH_MODE=none, build the panel, print
the banner and listen. The server owns the process: it never resolves,
so the bin doesn’t exit (unless returnServer).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
ServeOptions & object |
Returns
Section titled “Returns”Promise<RunningServer>
Call Signature
Section titled “Call Signature”function serve(options): Promise<never>;Defined in: src/cli/index.ts:634
The serve command: read the common env (PORT, BASE_PATH, TITLE,
LOGO_URL, READONLY), warn on AUTH_MODE=none, build the panel, print
the banner and listen. The server owns the process: it never resolves,
so the bin doesn’t exit (unless returnServer).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
ServeOptions |
Returns
Section titled “Returns”Promise<never>