GitHub

API reference for Options.

index (default "index.html"; None: directories are not served), spa, cache_control and extra mime_types (by extension, without the dot).

Attributes

AttributeTypeDescription
rootstr
indexNotRequired[str | None]
spaNotRequired[bool]
cache_controlNotRequired[str]
mime_typesNotRequired[Mapping[str, str]]