diff options
author | Frederick Muriuki Muriithi | 2021-10-14 07:19:32 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-10-19 10:12:51 +0300 |
commit | a7fbce242f6683d66452ff02e541aa9b28908f39 (patch) | |
tree | 4ca3733ad607e47ec026436555346bb5300b4327 /tests/unit/computations/data/qtlreaper | |
parent | 7627378dd1eb52055f4e25047ba53a2d2e4c092f (diff) | |
download | genenetwork3-a7fbce242f6683d66452ff02e541aa9b28908f39.tar.gz |
Allow CORS_ORIGINS to be configurable via the environment
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/non-clustered-heatmaps-and-flipping.gmi
* gn3/app.py: setup CORS after all the configuration sources are loaded.
* gn3/settings.py: Parse CORS_ORIGINS from the environment variables.
Enable the CORS_ORIGINS configuration to be set in the environment variables
to give the application some flexibility when launching.
Diffstat (limited to 'tests/unit/computations/data/qtlreaper')
0 files changed, 0 insertions, 0 deletions