Skip to content

Commit 02c7ca1

Browse files
committed
fix(heatmaps): disable cloud-only consent-modal blocking in hobby
The self-hosted OSS browserless image rejects the blockConsentModals body field with a 400, which classifies as a permanent failure — every hobby heatmap screenshot would fail on first attempt without the override.
1 parent 71954f9 commit 02c7ca1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker-compose.hobby.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ services:
107107
BROWSERLESS_TOKEN: $POSTHOG_SECRET
108108
HEATMAP_BROWSERLESS_URL: 'http://browserless:3000'
109109
HEATMAP_BROWSERLESS_TOKEN: $POSTHOG_SECRET
110+
# blockConsentModals is a browserless.io cloud API extension; the OSS image 400s on it
111+
HEATMAP_BROWSERLESS_BLOCK_CONSENT_MODALS: 'false'
110112
image: $REGISTRY_URL:$POSTHOG_APP_TAG
111113
depends_on:
112114
db:
@@ -407,6 +409,8 @@ services:
407409
BROWSERLESS_TOKEN: $POSTHOG_SECRET
408410
HEATMAP_BROWSERLESS_URL: 'http://browserless:3000'
409411
HEATMAP_BROWSERLESS_TOKEN: $POSTHOG_SECRET
412+
# blockConsentModals is a browserless.io cloud API extension; the OSS image 400s on it
413+
HEATMAP_BROWSERLESS_BLOCK_CONSENT_MODALS: 'false'
410414
depends_on:
411415
- db
412416
- redis7

0 commit comments

Comments
 (0)