Skip to content

Commit

Permalink
Update frontend url; remove surge.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sunu committed Sep 11, 2024
1 parent 043588d commit b73ca1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
STAGE=staging
API_VERSION_STRING=/v2
# Frontend Url used to set CORS origin for FastAPI
APT_FRONTEND_URL=https://nasa-apt.surge.sh
APT_FRONTEND_URL=https://d3p0lkft682kz.cloudfront.net
NOTIFICATIONS_FROM="[email protected]"
APT_FEATURE_JOURNAL_PDF_EXPORT_ENABLED="true"
DATABASE_FROM_SNAPSHOT_ID="nasa-apt-api-staging-db-encrypted"
Expand Down
2 changes: 1 addition & 1 deletion stack/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
)

# if STAGE != "prod":
# FRONTEND_URL = f"{FRONTEND_URL},http://localhost:9000,https://nasa-apt.surge.sh"
# FRONTEND_URL = f"{FRONTEND_URL},http://localhost:9000"

BACKEND_CORS_ORIGINS = os.environ.get(
"BACKEND_CORS_ORIGINS",
Expand Down

0 comments on commit b73ca1d

Please sign in to comment.