more config options added

This commit is contained in:
root 2023-06-03 14:16:15 +02:00
parent 04444c36f8
commit f60ae31595
2 changed files with 8 additions and 3 deletions

View File

@ -1,8 +1,10 @@
[main]
separator_char = ;
port = 5000
bind = 0.0.0.0
base_url = https://ab.21x9.org
timezone = Europe/Berlin
mail = abgame@21x9.org
base_url = https://ab.21x9.org
separator_char = ;
[i18n]
lang = de

View File

@ -103,4 +103,7 @@ def getContent():
if __name__ == "__main__":
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')