Skip to content

Commit cc357c9

Browse files
Add COOKIE_DOMAIN env var for cross-subdomain cookie sharing
When set, the worker appends a Domain attribute to the crowdhandler cookie so it can be shared across subdomains of the configured parent. Default behaviour is unchanged: with no env var the cookie is set host-only as before. Browsers reject Domain values that aren't a parent of the request host, so the operator owns picking a valid value.
1 parent f0c6bb7 commit cc357c9

4 files changed

Lines changed: 25 additions & 7 deletions

File tree

dist/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
This folder contains the built output assets for the worker "crowdhandler-integration" generated at 2026-03-18T16:35:31.650Z.
1+
This folder contains the built output assets for the worker "crowdhandler-integration" generated at 2026-04-27T13:50:38.241Z.

dist/index.js

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)