Added site index file and created_at
This commit is contained in:
@@ -110,6 +110,9 @@ func validateIncomingSite(site *models.Site) error {
|
||||
if site.NotFoundFile == "" {
|
||||
site.NotFoundFile = "404.html"
|
||||
}
|
||||
if site.IndexFile == "" {
|
||||
site.IndexFile = "index.html"
|
||||
}
|
||||
if site.ForwardRules == nil {
|
||||
site.ForwardRules = []models.ForwardRule{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user