mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 19:56:02 +08:00
fix/check-for-auth-on-scrape-log
This commit is contained in:
parent
4ead89f983
commit
4eca6bd301
@ -7,6 +7,10 @@ export async function logScrape(
|
||||
scrapeLog: ScrapeLog,
|
||||
pageOptions?: PageOptions
|
||||
) {
|
||||
if (process.env.USE_DB_AUTHENTICATION === "false") {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
// Only log jobs in production
|
||||
// if (process.env.ENV !== "production") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user