function loadEffectiveDomain
loadEffectiveDomain(requestUrl: URL): string

Load the effective domain from DB, falling back to the request URL hostname.

Parameters

requestUrl: URL

Return Type

string

Usage

import { loadEffectiveDomain } from "docs/config.ts";