mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
fix config
This commit is contained in:
parent
2b9360520f
commit
f0f37aea92
6
main.py
6
main.py
@ -48,10 +48,10 @@ if __name__ == '__main__':
|
||||
driver = configure_firefox_driver()
|
||||
start_webhook(
|
||||
dispatcher=dp,
|
||||
webhook_path='/transport', # WEBHOOK_PATH,
|
||||
webhook_path=WEBHOOK_PATH,
|
||||
on_startup=on_startup,
|
||||
on_shutdown=on_shutdown,
|
||||
skip_updates=True,
|
||||
host='test-server.lan', # WEBAPP_HOST,
|
||||
port=8084, # WEBAPP_PORT,
|
||||
host=WEBAPP_HOST,
|
||||
port=WEBAPP_PORT,
|
||||
)
|
||||
|
@ -25,4 +25,4 @@ WEBHOOK_URL = f"{WEBHOOK_HOST}{WEBHOOK_PATH}"
|
||||
|
||||
# webserver settings
|
||||
WEBAPP_HOST = config('WEBAPP_HOST') # or ip
|
||||
WEBAPP_PORT = config('WEBAPP_PORT')
|
||||
WEBAPP_PORT = config('WEBAPP_PORT', cast=int)
|
||||
|
Loading…
x
Reference in New Issue
Block a user