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

Function normalizeDomain

apps/sim/tools/jira/utils.ts:163–168  ·  view source on GitHub ↗
(domain: string)

Source from the content-addressed store, hash-verified

161}
162
163export function normalizeDomain(domain: string): string {
164 return `https://${domain
165 .trim()
166 .replace(/^https?:\/\//i, '')
167 .replace(/\/+$/, '')}`.toLowerCase()
168}
169
170export async function getJiraCloudId(
171 domain: string,

Callers 2

resolveCloudIdFunction · 0.90
getJiraCloudIdFunction · 0.70

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected