function getCdnHostname
getCdnHostname(): string

Get the CDN hostname derived from ALLOWED_DOMAIN. Replaces ".bunny.run" with ".b-cdn.net" for the CNAME target.

Return Type

string

Usage

import { getCdnHostname } from "doc.ts";