Skip to content

Commit 4510bdd

Browse files
authored
Add Debug as env variable
1 parent e98c018 commit 4510bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22

33
# Flask config
4-
DEBUG = False
4+
DEBUG = lower(os.environ.get("DEBUG", "false")) == "true"
55
IP = os.environ.get("IP", "0.0.0.0")
66
PORT = os.environ.get("PORT", "8080")
77
SERVER_NAME = os.environ.get("SERVER_NAME", "localhost:8080")

0 commit comments

Comments
 (0)