diff --git a/backend/functions/src/dto/scrapping-options.ts b/backend/functions/src/dto/scrapping-options.ts index 6bb2763..9baf1b3 100644 --- a/backend/functions/src/dto/scrapping-options.ts +++ b/backend/functions/src/dto/scrapping-options.ts @@ -195,7 +195,9 @@ export class CrawlerOptions extends AutoCastable { res: Response, } | undefined; + console.log(`ctx: ${JSON.stringify(ctx)}`); const customMode = ctx?.req.get('x-respond-with') || ctx?.req.get('x-return-format'); + console.log(`customMode: ${customMode}`); if (customMode !== undefined) { instance.respondWith = customMode; }