Testfix for loop restart #2
All checks were successful
release-tag / release-image (push) Successful in 1m50s
All checks were successful
release-tag / release-image (push) Successful in 1m50s
This commit is contained in:
@@ -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{
|
||||||
|
Reference in New Issue
Block a user