From ba5e835d48112fbb98f9edbd63f122fbcd7cc43f Mon Sep 17 00:00:00 2001 From: sellnat77 Date: Tue, 31 Mar 2020 19:42:46 -0700 Subject: [PATCH] Added environment override for project url --- server/src/app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/app.py b/server/src/app.py index 9397650d0..ec1e4c0cc 100644 --- a/server/src/app.py +++ b/server/src/app.py @@ -35,6 +35,9 @@ def environment_overrides(): if os.environ.get('GITHUB_TOKEN', None): app.config['Settings']['Github']['GITHUB_TOKEN'] =\ os.environ.get('GITHUB_TOKEN') + if os.environ.get('PROJECT_URL', None): + app.config['Settings']['Github']['PROJECT_URL'] =\ + os.environ.get('PROJECT_URL') def configure_app():