MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / cliLoginUrl

Function cliLoginUrl

apps/cli/src/device-login.ts:72–72  ·  view source on GitHub ↗
(origin: string)

Source from the content-addressed store, hash-verified

70}
71
72const cliLoginUrl = (origin: string): string => `${origin.replace(/\/+$/, "")}/api/auth/cli-login`;
73
74const asString = (value: unknown): string | undefined =>
75 typeof value === "string" && value.length > 0 ? value : undefined;

Callers 1

discoverCliLoginFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected