MCPcopy Create free account
hub / github.com/angular/dev-infra / index.ts

File index.ts

apps/functions/dns-redirecting/index.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as functions from 'firebase-functions';
2
3const isValidDomain = (domain: string): boolean => {
4 // Only allow alphanumeric characters, dots, and hyphens

Callers

nothing calls this directly

Calls 9

isValidDomainFunction · 0.85
fetchFunction · 0.50
statusMethod · 0.45
sendMethod · 0.45
redirectMethod · 0.45
jsonMethod · 0.45
setMethod · 0.45
stringifyMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected