Closed jdhayhurst closed 1 year ago
I'd suggest that we make the CORS configurable here https://github.com/opentargets/ot-ai-api/blob/a611378c589e71da0ed65bf9934b505461aa4c27/app.js#L24 to allow customisable origins. Otherwise we can start in "development" mode, but then we also have to pass in an API key for wandb. I think for the purposes of this repository, enabling anyone to run the platform, we need to be able to configure that CORS policy.
This is "working" but here are the caveats: