Update index.ts

This commit is contained in:
Nicolas 2024-11-24 19:48:13 -08:00
parent d817aa744f
commit 18b864eace

View File

@ -16,7 +16,7 @@ const usePlaywright = process.env.PLAYWRIGHT_MICROSERVICE_URL !== '' && process.
const useCache = process.env.CACHE_REDIS_URL !== '' && process.env.CACHE_REDIS_URL !== undefined;
export const engines: Engine[] = [
...(useCache ? [ "cache" as const ] : []),
// ...(useCache ? [ "cache" as const ] : []),
...(useFireEngine ? [ "fire-engine;chrome-cdp" as const, "fire-engine;playwright" as const, "fire-engine;tlsclient" as const ] : []),
...(useScrapingBee ? [ "scrapingbee" as const, "scrapingbeeLoad" as const ] : []),
...(usePlaywright ? [ "playwright" as const ] : []),