function getEmbedHosts
getEmbedHosts(): Promise<string[]>

Get allowed embed hosts from database (encrypted, parsed to array) Returns empty array if not configured (embedding allowed from anywhere)

Return Type

Promise<string[]>

Usage

import { getEmbedHosts } from "doc.ts";