Skip to content

Change Galago domain #1712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions src/backend/aspen/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,12 @@ def get_allowed_origins() -> List[str]:

Gets list of all allowed origins for cross origin requests. This is pretty
simple right now: we only serve the FE of our app and Galago with content
from our BE, so that's all this needs to cover. For ease, the Galago URLs
are just hardcoded. If we ever need to start handling a lot more CORS
requests or the Galago URLs become more dynamic, we should reevaluate
current process.
from our BE, so that's all this needs to cover. For ease, the Galago URL is
just hardcoded. If we ever need to start handling a lot more CORS requests,
we should reevaluate the current process.
"""
allowed_origins = [
"https://galago.czgenepi.org",
"https://galago-labs.czgenepi.org",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

galago-labs was the Staging env for Galago. For ease, it was just its own repo with its own GitHub Page. Since Galago isn't under active development, we haven't set up any of the custom domain stuff for galago-labs it, and I'm removing it here.

"https://galago.cziscience.com",
]
frontend_url = os.getenv("FRONTEND_URL")
if frontend_url:
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/common/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export enum ROUTES {
CZI = "https://chanzuckerberg.com/",
DATA = "/data",
DATA_SAMPLES = "/data/samples",
GALAGO = "https://galago.czgenepi.org/",
GALAGO = "https://galago.cziscience.com/",
GISAID = "https://www.gisaid.org/",
GITHUB = "https://github.com/chanzuckerberg/czgenepi/",
GROUP = "/group",
Expand Down
Loading