Skip to content

UiResourceOptions

type UiResourceOptions = { name: string; directory: string; apiOrigins?: readonly string[] };
Field Meaning
name 1-48 lowercase letters, digits or hyphens; starts with a letter.
directory Local path to the built static directory.
apiOrigins Up to 16 exact HTTPS origins; HTTP declarations require each player to enable local development mode. Defaults to none.