Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
* as functions from
'firebase-functions'
;
2
3
const
isValidDomain = (domain: string): boolean => {
4
// Only allow alphanumeric characters, dots, and hyphens
Callers
nothing calls this directly
Calls
9
isValidDomain
Function · 0.85
fetch
Function · 0.50
status
Method · 0.45
send
Method · 0.45
redirect
Method · 0.45
json
Method · 0.45
set
Method · 0.45
stringify
Method · 0.45
type
Method · 0.45
Tested by
no test coverage detected