colorado-cancer-center / ecco

An interactive resource for exploring cancer data in Colorado
https://coe-ecco.org
Apache License 2.0
1 stars 2 forks source link

Re-allows ecco.cu-dbmi.dev to serve both the frontend and backend #64

Closed falquaddoomi closed 4 months ago

falquaddoomi commented 4 months ago

When we transitioned from ecco.cu-dbmi.dev to coe-ecco.org, I made some changes that disabled the backend from being served from ecco.cu-dbmi.dev. This PR partially reverses those changes, so that coe-ecco.org served from Netlify can still access api.coe-ecco.org, and ecco.cu-dbmi.dev served from our ecco VM will now query ecco.cu-dbmi.dev/api.

In detail, this PR does the following:

I've tested that coe-ecco.org still works (it hits api.coe-ecco.org, which is still served from the ecco VM via its own server block, selected by hostname). I did a quick test on https://ecco.cu-dbmi.dev and verified that it also works: the frontend is querying ecco.cu-dbmi.dev/api, as it should, the backend is getting hit, and it's responding.

netlify[bot] commented 4 months ago

Deploy Preview for exploring-cancer-in-colorado canceled.

Name Link
Latest commit 0c98f434d7c42315a90be1fb2483a79ba2bda03a
Latest deploy log https://app.netlify.com/sites/exploring-cancer-in-colorado/deploys/6639585ea09ac50008566003