Added github branch fetching

This commit is contained in:
2026-03-30 21:13:50 +02:00
parent a8a2b3f95a
commit e81286b394
6 changed files with 272 additions and 9 deletions
-3
View File
@@ -42,12 +42,9 @@ func NewStaticHandler(storagePath string, siteMap map[string]config.SiteConfig)
return c.SendFile(notFoundFilePath)
}
//log.Printf("File not found: %s (requested by host: %s, path: %s)", filePath, c.Hostname(), c.Path())
return c.SendStatus(fiber.StatusNotFound)
}
//log.Printf("Serving file: %s (requested by host: %s, path: %s)", filePath, c.Hostname(), c.Path())
return c.SendFile(filePath)
}
}