variable BANDCAMP_HOST_RE

Matches the hostnames bandcamp-streams.ts accepts: bandcamp.com and its subdomains, and not bandcamp.com.example.org. An artist on a custom domain doesn't match, and the player falls back to the embed.

Type

RegExp

Usage

import { BANDCAMP_HOST_RE } from "api/remote/bandcamp-tralbum.ts";