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

Function normalizeConfluenceDomainHost

apps/sim/tools/confluence/utils.ts:8–13  ·  view source on GitHub ↗
(domain: string)

Source from the content-addressed store, hash-verified

6 * a bare host (e.g. `yoursite.atlassian.net`).
7 */
8export function normalizeConfluenceDomainHost(domain: string): string {
9 return domain
10 .trim()
11 .replace(/^https?:\/\//i, '')
12 .replace(/\/+$/, '')
13}
14
15export async function getConfluenceCloudId(
16 domain: string,

Callers 2

confluence.tsFile · 0.90
getConfluenceCloudIdFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected