bugfixes
All checks were successful
release-tag / release-image (push) Successful in 2m14s

This commit is contained in:
2025-06-21 22:12:16 +02:00
parent 6900c4dd75
commit 5d8c3c313c
2 changed files with 32 additions and 31 deletions

View File

@@ -24,7 +24,8 @@ import (
// Redis + Context
var ctx = context.Background()
var rdb = redis.NewClient(&redis.Options{
Addr: "flodredis:6379",
Addr: "flodredis:6379",
Password: os.Getenv("REDIS_PASS"),
})
// ──────────────────────────────────────────────────────────────────────────────
@@ -334,7 +335,7 @@ func handleCheck(w http.ResponseWriter, r *http.Request) {
}
var cats []string
for a, _ := range blocklistURLs {
for a := range blocklistURLs {
cats = append(cats, a)
}
@@ -373,7 +374,7 @@ func handleTraefik(w http.ResponseWriter, r *http.Request) {
}
var cats []string
for a, _ := range blocklistURLs {
for a := range blocklistURLs {
cats = append(cats, a)
}