firecrawl-api / apps /api /src /scraper /scrapeURL /lib /cacheableLookup.ts
s-eto-hub's picture
Commit de nettoyage des binaires
097eaf0
Raw History Blame Contribute Delete
262 Bytes
import CacheableLookup from "cacheable-lookup";
import dns from "dns";
import { config } from "../../../config";
export const cacheableLookup =
config.SENTRY_ENVIRONMENT === "dev"
? { lookup: dns.lookup, install: () => {} }
: new CacheableLookup({});