()
| 166 | * baked into the client bundle at build time can't pin requests to the wrong host. |
| 167 | */ |
| 168 | export function getBrowserOrigin(): string | null { |
| 169 | return typeof window !== 'undefined' ? window.location.origin : null |
| 170 | } |
| 171 | |
| 172 | /** |
| 173 | * Returns the socket server URL for server-side internal API calls. |
no outgoing calls
no test coverage detected