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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
basePath |
string | undefined |
Returns
Section titled “Returns”string