MCPcopy Create free account
hub / github.com/monkeytypegame/monkeytype / getFrontendUrl

Function getFrontendUrl

backend/src/utils/misc.ts:184–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182}
183
184export function getFrontendUrl(): string {
185 return isDevEnvironment()
186 ? "http://localhost:3000"
187 : (process.env["FRONTEND_URL"] ?? "https://monkeytype.com");
188}
189
190/**
191 * convert database object into api object

Callers 2

sendForgotPasswordEmailFunction · 0.90
sendVerificationEmailFunction · 0.90

Calls 1

isDevEnvironmentFunction · 0.70

Tested by

no test coverage detected