Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions oss/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,10 @@ type WebsiteXML struct {

// IndexDocument defines the index page info
type IndexDocument struct {
XMLName xml.Name `xml:"IndexDocument"`
Suffix string `xml:"Suffix"` // The file name for the index page
XMLName xml.Name `xml:"IndexDocument"`
Suffix string `xml:"Suffix"` // The file name for the index page
SupportSubDir bool `xml:"SupportSubDir"` // whether or not subfolder homepage is enabled
Type int `xml:"Type"` // the subfolder homepage behavior. 0 means Redirect, 1 means NoSuchKey, 2 means Index
}

// ErrorDocument defines the 404 error page info
Expand Down