()
| 2 | * Get the API root location from the current window path |
| 3 | */ |
| 4 | export function getRootPath(): string { |
| 5 | return extractRoot(window.location.pathname); |
| 6 | } |
| 7 | |
| 8 | /** |
| 9 | * Get the full API root URL from the current page href |
no test coverage detected