mirror of
https://github.com/sileht/bird-lg.git
synced 2024-11-22 06:54:43 +01:00
Move debug boolean to configuration file
This commit is contained in:
parent
9ca18eff4a
commit
ea5563fe81
1
lg.cfg
1
lg.cfg
|
@ -1,4 +1,5 @@
|
||||||
|
|
||||||
|
DEBUG = True
|
||||||
DOMAIN = "tetaneutral.net"
|
DOMAIN = "tetaneutral.net"
|
||||||
|
|
||||||
PROXY = {
|
PROXY = {
|
||||||
|
|
2
lg.py
2
lg.py
|
@ -575,6 +575,6 @@ def show_route(request_type, hosts, proto):
|
||||||
|
|
||||||
|
|
||||||
app.secret_key = app.config["SESSION_KEY"]
|
app.secret_key = app.config["SESSION_KEY"]
|
||||||
app.debug = True
|
app.debug = app.config["DEBUG"]
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.run("0.0.0.0")
|
app.run("0.0.0.0")
|
||||||
|
|
Loading…
Reference in a new issue