Compare commits

...

1 Commits

Author SHA1 Message Date
3wc
7332be5567 Enable FLASK_DEBUG, if set
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-23 23:30:49 +02:00

View File

@ -48,6 +48,8 @@ for var_name in [
app = Flask(__name__)
app.config.from_mapping(
FLASK_DEBUG=os.environ.get("FLASK_DEBUG", default="0"),
BASE_URL=os.environ.get("BASE_URL", default="http://localhost:5000"),
SECRET_KEY=os.environ.get("SECRET_KEY", default="dev"),
HUB_MODE_ENABLED=os.environ.get("HUB_MODE_ENABLED", default="True").lower() in ['true', '1', 't', 'y', 'yes'],