Enable FLASK_DEBUG, if set
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
72c04d8495
commit
7332be5567
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user