adding back in a default port, not sure how this might be interacting badly with mesosphere, but this commit maybe caused the problem?

This commit is contained in:
Dan 2021-07-22 18:16:02 -04:00
parent f6612a65d5
commit 2a1d531b5e
1 changed files with 2 additions and 1 deletions

View File

@ -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}'