StaticWebsite interface
The properties that enable an account to host a static website
Properties
default |
Absolute path of the default index page |
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
defaultIndexDocumentPath
Absolute path of the default index page
defaultIndexDocumentPath?: string
Property Value
string
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?: string
Property Value
string
indexDocument
The default name of the index page under each directory
indexDocument?: string
Property Value
string