more config options added
This commit is contained in:
parent
04444c36f8
commit
f60ae31595
|
@ -1,8 +1,10 @@
|
||||||
[main]
|
[main]
|
||||||
separator_char = ;
|
port = 5000
|
||||||
|
bind = 0.0.0.0
|
||||||
|
base_url = https://ab.21x9.org
|
||||||
timezone = Europe/Berlin
|
timezone = Europe/Berlin
|
||||||
mail = abgame@21x9.org
|
mail = abgame@21x9.org
|
||||||
base_url = https://ab.21x9.org
|
separator_char = ;
|
||||||
|
|
||||||
[i18n]
|
[i18n]
|
||||||
lang = de
|
lang = de
|
||||||
|
|
5
game.py
5
game.py
|
@ -103,4 +103,7 @@ def getContent():
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from waitress import serve
|
from waitress import serve
|
||||||
serve(app, host='0.0.0.0', port=5000, ident='a/b game')
|
bind = config.get('main', 'bind')
|
||||||
|
port = config.get('main', 'port')
|
||||||
|
|
||||||
|
serve(app, host=bind, port=port, ident='a/b game')
|
||||||
|
|
Loading…
Reference in New Issue