Enable FLASK_DEBUG, if set
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
3wc 2021-07-23 23:30:49 +02:00
parent 72c04d8495
commit 7332be5567

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'],