diff --git a/lg.cfg b/lg.cfg index a8cd3a7..318d2e7 100644 --- a/lg.cfg +++ b/lg.cfg @@ -1,4 +1,5 @@ +DEBUG = True DOMAIN = "tetaneutral.net" PROXY = { diff --git a/lg.py b/lg.py index 2c69953..8725e4d 100755 --- a/lg.py +++ b/lg.py @@ -575,6 +575,6 @@ def show_route(request_type, hosts, proto): app.secret_key = app.config["SESSION_KEY"] -app.debug = True +app.debug = app.config["DEBUG"] if __name__ == "__main__": app.run("0.0.0.0")