We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0434266 commit 36e262aCopy full SHA for 36e262a
components/server/src/analytics-controller.ts
@@ -198,14 +198,7 @@ export class AnalyticsController {
198
hostname.endsWith("gitpod-dev.com") ||
199
hostname.endsWith("gitpod-io-dev.com")
200
) {
201
- const domain =
202
- hostname === "gitpod.io"
203
- ? ".gitpod.io"
204
- : hostname === "gitpod-staging.com"
205
- ? ".gitpod-staging.com"
206
- : hostname.endsWith("gitpod-dev.com")
207
- ? ".gitpod-dev.com"
208
- : ".gitpod-io-dev.com";
+ const domain = `.${hostname}`;
209
210
res.cookie("gitpod_hashed_user_id", hashedUserId, {
211
domain: domain,
0 commit comments