()
| 9 | * Get the full API root URL from the current page href |
| 10 | */ |
| 11 | export function getPublicURL(): string { |
| 12 | return extractRoot(window.location.href); |
| 13 | } |
| 14 | |
| 15 | /** |
| 16 | * Extract the root path of the admin app from a given input path/url |
no test coverage detected