mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
fix scheduler
This commit is contained in:
parent
d88ef52c53
commit
b3b2217115
11
README.md
11
README.md
@ -22,7 +22,16 @@ sudo systemctl start mosgortrans.service
|
||||
python main.py
|
||||
```
|
||||
|
||||
- change bash bot-start.sh to python main.py
|
||||
- set `START_WITH_WEBHOOK` to blank
|
||||
|
||||
## Delete or set webhook manually
|
||||
|
||||
url: https://api.telegram.org/bot{TELEGRAM_TOKEN}/{method}Webhook?url={WEBHOOK_URL}
|
||||
|
||||
methods:
|
||||
- delete
|
||||
- set
|
||||
|
||||
|
||||
## Local development clean:
|
||||
|
||||
|
@ -5,7 +5,7 @@ WEBHOOK_HOST="https://mydomain.com"
|
||||
WEBHOOK_PATH="/transport"
|
||||
|
||||
# webserver settings
|
||||
WEBAPP_HOST="127.0.0.1"
|
||||
WEBAPP_HOST="0.0.0.0"
|
||||
WEBAPP_PORT="8080"
|
||||
|
||||
# set to true to start with webhook. Else bot will start on polling method
|
||||
|
Loading…
x
Reference in New Issue
Block a user