Testfix for loop restart #2
All checks were successful
release-tag / release-image (push) Successful in 1m50s

This commit is contained in:
2025-05-04 18:19:20 +02:00
parent efac316b4c
commit 1d09537ff0

View File

@@ -44,7 +44,7 @@ func main() {
// --- Verzeichnisse konfigurierbar machen ------------------------- // --- Verzeichnisse konfigurierbar machen -------------------------
contentDir := os.Getenv("BLOG_CONTENT_DIR") contentDir := os.Getenv("BLOG_CONTENT_DIR")
if contentDir == "" { if contentDir == "" {
contentDir = "/app/content" // Fallback für local run contentDir = "/content" // Fallback für local run
} }
staticDir := os.Getenv("BLOG_STATIC_DIR") staticDir := os.Getenv("BLOG_STATIC_DIR")
@@ -54,7 +54,7 @@ func main() {
pagesDir := os.Getenv("BLOG_PAGES_DIR") pagesDir := os.Getenv("BLOG_PAGES_DIR")
if staticDir == "" { if staticDir == "" {
staticDir = "/app/pages" staticDir = "/pages"
} }
funcs := template.FuncMap{ funcs := template.FuncMap{