StaticWebsite interface

The properties that enable an account to host a static website

Properties

enabled

Indicates whether this account is hosting a static website

errorDocument404Path

The absolute path of the custom 404 page

indexDocument

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?: string

Property Value

string

indexDocument

The default name of the index page under each directory

indexDocument?: string

Property Value

string