MCPcopy Index your code
hub / github.com/simstudioai/sim / getAuthBaseUrl

Function getAuthBaseUrl

apps/sim/lib/auth/auth-client.ts:18–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16import { SessionContext, type SessionHookResult } from '@/app/_shell/providers/session-provider'
17
18function getAuthBaseUrl(): string {
19 return getBrowserOrigin() ?? getBaseUrl()
20}
21
22export const client = createAuthClient({
23 baseURL: getAuthBaseUrl(),

Callers 1

auth-client.tsFile · 0.85

Calls 2

getBrowserOriginFunction · 0.90
getBaseUrlFunction · 0.90

Tested by

no test coverage detected