@uploadcare/cname-prefix
v6.18.2
Published
Helpers for working with Uploadcare CNAME-prefixed URLs in browser environments.
Readme
Uploadcare CNAME Prefix
This package provides a helper for working with Uploadcare CDN CNAME prefixes.
Install
npm install @uploadcare/cname-prefixUsage
import { getPrefixedCdnBase } from '@uploadcare/cname-prefix'
const prefixedCdnBase = getPrefixedCdnBase('demopublickey', 'https://ucarecd.net')
// prefixedCdnBase === 'https://1s4oyld5dc.ucarecd.net'Security issues
If you think you ran into something in Uploadcare libraries that might have security implications, please hit us up at [email protected] or Hackerone.
We'll contact you personally in a short time to fix an issue through co-op and prior to any public disclosure.
Feedback
Issues and PRs are welcome. You can provide your feedback or drop us a support request at [email protected].
