Skip to content

normalizeBasePath

function normalizeBasePath(basePath): string;

Defined in: src/server/base-path.ts:10

Normalize a base path to either "" (root) or /segment with no trailing slash.

Parameter Type
basePath string | undefined

string