MCPcopy Create free account
hub / github.com/Noumena-Network/code / normalizeBaseUrl

Function normalizeBaseUrl

src/constants/oauth.ts:14–16  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

12}
13
14function normalizeBaseUrl(url: string): string {
15 return url.replace(/\/$/, '')
16}
17
18export function getNoumenaIssuerBaseUrl(): string | null {
19 const baseUrl = process.env.NOUMENA_ISSUER_BASE_URL?.trim()

Callers 2

getNoumenaIssuerBaseUrlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected