Skip to content

Commit

Permalink
use api.delphi.cmu.edu instead of api.covidcast
Browse files Browse the repository at this point in the history
  • Loading branch information
melange396 committed Jun 20, 2024
1 parent 5d25c4a commit b06f4ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/signal_documentation/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from sentry_sdk.integrations.redis import RedisIntegration

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

SENTRY_DSN = os.environ.get('SENTRY_DSN')
if SENTRY_DSN:
Expand Down
2 changes: 1 addition & 1 deletion src/signals/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from signal_documentation.celery import BaseTaskWithRetry, app
from signals.tools import SignalLastUpdatedParser

COVID_CAST_META_URL = os.environ.get('COVID_CAST_META_URL', 'https://api.covidcast.cmu.edu/epidata/covidcast/meta')
COVID_CAST_META_URL = os.environ.get('COVID_CAST_META_URL', 'https://api.delphi.cmu.edu/epidata/covidcast/meta')


@app.task(bind=BaseTaskWithRetry)
Expand Down
2 changes: 1 addition & 1 deletion src/templates/signals/data_visualization_export.html
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ <h5>Plot / Export data</h5>

if (!requestSent) {
$.ajax({
url: 'https://api.covidcast.cmu.edu/epidata/covidcast/',
url: 'https://api.delphi.cmu.edu/epidata/covidcast/',
type: 'GET',
data: {
'time_type': timeType,
Expand Down

0 comments on commit b06f4ee

Please sign in to comment.