Added site index file and created_at

This commit is contained in:
2026-04-06 18:01:37 +02:00
parent 3f1deae70e
commit 38fcdbf391
9 changed files with 59 additions and 14 deletions
+3
View File
@@ -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{}
}