feat(gallery): routes

This commit is contained in:
2026-05-31 10:46:07 +02:00
parent ee3eba3cd9
commit 9282f1f634
22 changed files with 223 additions and 34 deletions
+8 -2
View File
@@ -4,14 +4,20 @@ import "time"
func Default() Cfg {
return Cfg{
Image: &ImageConfig{
Image: &Image{
Concurency: 10,
Quality: 80,
CacheLifetime: time.Hour * 24 * 31,
},
Tracking: &UmamiConfig{
Tracking: &Umami{
ScriptSrc: "https://umami.schreifuchs.ch/script.js",
WebsiteID: "54d8a379-77d5-4c20-b46d-5c9a6c9e39bd",
},
Gallery: &Gallery{
Path: "gallery",
},
Cache: &Valkey{
RefreshTime: time.Minute * 10,
},
}
}