()
| 34 | }; |
| 35 | |
| 36 | export const getMainSiteHostname = () => { |
| 37 | const url = new URL(getBaseUrl()); |
| 38 | return url.host; |
| 39 | }; |
| 40 | |
| 41 | export const isOnMainSite = (host: string) => { |
| 42 | // TODO: Do we even need getMainSiteHostname()? |
no test coverage detected