Function: isUploadcareDomain()
ts
function isUploadcareDomain(url): boolean;Defined in: domain.ts:41
Whether the host is operated by Uploadcare (not a custom CNAME).
Parameters
| Parameter | Type |
|---|---|
url | string |
Returns
boolean
See
https://uploadcare.com/docs/delivery/cdn/
Example
ts
isUploadcareDomain('https://cdn.example.com') // → false