Added API address support

This commit is contained in:
Profitroll 2022-10-26 15:23:06 +02:00
parent 04749f5ffe
commit fc37495b11
2 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ You can see config file with all the comments below:
"age_allowed": 0, # minimum age of user that submits application "age_allowed": 0, # minimum age of user that submits application
"birthdays_notify": true, # notify admin group about birthdays "birthdays_notify": true, # notify admin group about birthdays
"birthdays_time": "09:00", # server time when to notify about birthdays "birthdays_time": "09:00", # server time when to notify about birthdays
"api": "http://127.0.0.1:9024", # API server address
"admin_group": 0, # telegram ID of a admin's group "admin_group": 0, # telegram ID of a admin's group
"destination_group": 0, # telegram ID of a user's group "destination_group": 0, # telegram ID of a user's group
"admins": [], # list of telegram ID's of users that are admins "admins": [], # list of telegram ID's of users that are admins

View File

@ -5,6 +5,7 @@
"age_allowed": 0, "age_allowed": 0,
"birthdays_notify": true, "birthdays_notify": true,
"birthdays_time": "09:00", "birthdays_time": "09:00",
"api": "http://127.0.0.1:9024",
"admin_group": 0, "admin_group": 0,
"destination_group": 0, "destination_group": 0,
"admins": [], "admins": [],