Moved app part to web package

This commit is contained in:
Alexey Sokolov
2022-02-10 17:21:47 +03:00
parent 125198a0e2
commit 0c83713a17
6 changed files with 65 additions and 30 deletions

View File

@@ -47,7 +47,7 @@ _base_url = getenv('LTLNOTIFIER_BASE_URL')
if not _base_url:
raise ConfigError('virtual environment LTLNOTIFIER_BASE_URL not set')
_port = getenv('LTLNOTIFIER_PORT')
_port = getenv('LTLNOTIFIER_PORT', default='')
_port = int(_port) if _port.isdigit() else 3001
config = Config(teletoken=_teletoken,