(path: string)
| 13 | |
| 14 | /** Prefix an absolute (`/`-rooted) path with the deploy base path. */ |
| 15 | export function withBasePath(path: string): string { |
| 16 | if (!path.startsWith("/")) return path; |
| 17 | return `${BASE_PATH}${path}`; |
| 18 | } |
no outgoing calls
no test coverage detected