function loadIndexHtml
loadIndexHtml(root: string): Promise<string>

Returns ${root}/index.html with the site name, emoji, icon version, Bandcamp player mode, default style, and whether email and each way of federated sign-in are on filled in.

Parameters

root: string

Return Type

Promise<string>

Throws

Error

When the file can't be read.

Usage

import { loadIndexHtml } from "api/lib/index-html.ts";