Skip to content

Commit 94abca5

Browse files
authored
Update settings.py
Used os.env to get variables
1 parent b25a213 commit 94abca5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/signal_documentation/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
from sentry_sdk.integrations.django import DjangoIntegration
2424
from sentry_sdk.integrations.redis import RedisIntegration
2525

26-
EPIVIS_URL = "https://deploy-preview-36--cmu-delphi-epivis.netlify.app/"
27-
DATA_EXPORT_URL = "https://api.covidcast.cmu.edu/epidata/covidcast/csv"
26+
EPIVIS_URL = os.environ.get("EPIVIS_URL", "https://deploy-preview-36--cmu-delphi-epivis.netlify.app/")
27+
DATA_EXPORT_URL = os.environ.get("DATA_EXPORT_URL", "https://api.covidcast.cmu.edu/epidata/covidcast/csv")
2828

2929
SENTRY_DSN = os.environ.get('SENTRY_DSN')
3030
if SENTRY_DSN:

0 commit comments

Comments
 (0)