From 2a1d531b5e1758b74afeabe940fc2cffb5cdfde6 Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 22 Jul 2021 18:16:02 -0400 Subject: [PATCH] adding back in a default port, not sure how this might be interacting badly with mesosphere, but this commit maybe caused the problem? --- config/default.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/default.py b/config/default.py index ea61fb20..d7571a25 100644 --- a/config/default.py +++ b/config/default.py @@ -16,7 +16,8 @@ API_TOKEN = environ.get('API_TOKEN', default = 'af95596f327c9ecc007b60414fc84b61 NAME = "CR Connect Workflow" SERVER_NAME = environ.get('SERVER_NAME', default="localhost:5000") -FLASK_PORT = environ.get('PORT0') or environ.get('FLASK_PORT', default=5000) +DEFAULT_PORT = "5000" +FLASK_PORT = environ.get('PORT0') or environ.get('FLASK_PORT', default=DEFAULT_PORT) FRONTEND = environ.get('FRONTEND', default="localhost:4200") BPMN = environ.get('BPMN', default="localhost:5002") CORS_DEFAULT = f'{FRONTEND}, {BPMN}'