From bc65c7172c6557e9fe8bc7bc66f81970a7d15453 Mon Sep 17 00:00:00 2001 From: chahinebrini Date: Thu, 21 May 2026 21:53:49 +0200 Subject: [PATCH] =?UTF-8?q?fix(protection):=20webcontent-domains=20?= =?UTF-8?q?=E2=80=94=20fehlenden=20getWebCustomDomains-Import?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Der Endpoint nutzte getWebCustomDomains ohne Import → ReferenceError → HTTP 500. server/db/ ist nicht auto-importiert (nur server/utils/), daher expliziter Import wie in allen anderen 15+ db/domains-Konsumenten. Co-Authored-By: Claude Opus 4.7 --- backend/server/api/protection/webcontent-domains.get.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/server/api/protection/webcontent-domains.get.ts b/backend/server/api/protection/webcontent-domains.get.ts index 1320e38..593a71e 100644 --- a/backend/server/api/protection/webcontent-domains.get.ts +++ b/backend/server/api/protection/webcontent-domains.get.ts @@ -1,4 +1,5 @@ import gamblingDomains from "../../data/gambling-domains.json"; +import { getWebCustomDomains } from "../../db/domains"; const COUNTRY_KEYS = ["DE", "GB", "FR"] as const; type CountryKey = (typeof COUNTRY_KEYS)[number];