Skip to content

Commit a1d58d9

Browse files
authored
Update app.py
1 parent 2d9bf3f commit a1d58d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#from models import Person
1616

17-
ENV = os.getenv("FLASK_ENV")
17+
ENV = "development" if os.getenv("FLASK_DEBUG") == "1" else "production"
1818
static_file_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), '../public/')
1919
app = Flask(__name__)
2020
app.url_map.strict_slashes = False

0 commit comments

Comments
 (0)