Clean up logging

This commit is contained in:
2025-03-20 08:17:45 +01:00
parent 8490a8c029
commit 0c81f56f3b

View File

@@ -42,6 +42,8 @@ func main() {
log.Fatalf("error parsing templates: %v", err)
}
gin.DebugPrintFunc = log.Printf
gin.SetMode(gin.ReleaseMode)
r := gin.Default()
r.SetHTMLTemplate(templates)
r.StaticFS("/static", staticFiles)