Skip to content

Commit

Permalink
Merge pull request #1124 from crowdbotics/qa
Browse files Browse the repository at this point in the history
Release QA to Production
  • Loading branch information
codydjango committed Apr 16, 2024
2 parents 805adf1 + b81bb3c commit dc299fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/analytics/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { configFile } from "../utils/configFile.js";
import { HOST_CONFIG_NAME } from "../utils/constants.js";
import { HOST_CONFIG_NAME, DEFAULT_HOST } from "../utils/constants.js";
import {
DEVELOPMENT_SEGMENT_KEY,
PRODUCTION_SEGMENT_KEY
Expand All @@ -9,6 +9,6 @@ export const HAS_ASKED_OPT_IN_NAME = "has-asked-opt-in";
export const OPT_IN_NAME = "opt-in";

export const SEGMENT_API_KEY =
configFile.get(HOST_CONFIG_NAME) === "https://app.crowdbotics.com/"
configFile.get(HOST_CONFIG_NAME) === DEFAULT_HOST
? PRODUCTION_SEGMENT_KEY
: DEVELOPMENT_SEGMENT_KEY;

0 comments on commit dc299fd

Please sign in to comment.