Skip to content

Commit

Permalink
Merge pull request #2437 from mitodl/Update-mitx-online-posthog-env-vars
Browse files Browse the repository at this point in the history
Update posthog env vars
  • Loading branch information
collinpreston authored May 21, 2024
2 parents 9ad4101 + 1e282cc commit 0fa69fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ol_infrastructure/applications/mitxonline/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
"USE_X_FORWARDED_HOST": "True",
"ZENDESK_HELP_WIDGET_ENABLED": "True",
"POSTHOG_API_HOST": "https://app.posthog.com",
"POSTHOG_ENABLED": "True",
}

# All of the secrets for this app must be obtained with async incantations
Expand Down Expand Up @@ -395,6 +396,9 @@
"OPEN_EXCHANGE_RATES_APP_ID": secret_mitxonline_open_exchange_rates.data.apply(
lambda data: "{}".format(data["app_id"])
),
"POSTHOG_PROJECT_API_KEY": secret_mitxonline_posthog_credentials.data.apply(
lambda data: "{}".format(data["api-token"])
),
"POSTHOG_API_TOKEN": secret_mitxonline_posthog_credentials.data.apply(
lambda data: "{}".format(data["api-token"])
),
Expand Down

0 comments on commit 0fa69fc

Please sign in to comment.