fix(protection): webcontent-domains — fehlenden getWebCustomDomains-Import
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 <noreply@anthropic.com>
This commit is contained in:
parent
9dfccfcbaa
commit
bc65c7172c
@ -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];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user