From 95e14caeb60edc10c73d9cb60985caa118ed2a38 Mon Sep 17 00:00:00 2001 From: groot Date: Wed, 18 Jun 2025 08:45:53 +0000 Subject: [PATCH] main.go aktualisiert --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 8356409..3f69211 100644 --- a/main.go +++ b/main.go @@ -24,7 +24,7 @@ import ( // Redis + Context var ctx = context.Background() var rdb = redis.NewClient(&redis.Options{ - Addr: "redis:6379", + Addr: "flodredis:6379", }) // ────────────────────────────────────────────────────────────────────────────── @@ -179,7 +179,7 @@ func fetchAndSave(client *http.Client, t target, outDir string) error { // Import-Logik func importBlocklists() error { client := &http.Client{Timeout: 60 * time.Second} - t := target{Name: "Catalog", URL: "http://importer:8080/lists.json"} + t := target{Name: "Catalog", URL: "http://flodimporter:8080/lists.json"} if err := os.MkdirAll("./lists/", 0o755); err != nil { fmt.Println("creating output dir", err) }