StaticWebsite interface
The properties that enable an account to host a static website
Properties
| enabled | Indicates whether this account is hosting a static website |
| error |
The absolute path of the custom 404 page |
| index |
The default name of the index page under each directory |
Property Details
enabled
Indicates whether this account is hosting a static website
enabled: boolean
Property Value
boolean
errorDocument404Path
The absolute path of the custom 404 page
errorDocument404Path?: undefined | string
Property Value
undefined | string
indexDocument
The default name of the index page under each directory
indexDocument?: undefined | string
Property Value
undefined | string