change server to enable debug and not output body output getting very long
This commit is contained in:
+2
-1
@@ -2,6 +2,7 @@ import logging
|
||||
import os
|
||||
import typing
|
||||
|
||||
from config import DEBUG
|
||||
from flask import Flask
|
||||
from flask import request
|
||||
|
||||
@@ -42,4 +43,4 @@ def run_server(handlers: typing.Dict):
|
||||
logging.getLogger("werkzeug").setLevel(logging.ERROR)
|
||||
|
||||
print(f"\nRunning Battlesnake at http://{host}:{port}")
|
||||
app.run(host=host, port=port)
|
||||
app.run(host=host, port=port, debug=DEBUG)
|
||||
|
||||
Reference in New Issue
Block a user