refactor: use status.json
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
e5277d50f8
commit
60e2b4e3af
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -37,7 +37,7 @@ def validate_config() -> None:
|
|||
# TODO: do some PublicDomain checks or something
|
||||
# noinspection PyBroadException
|
||||
try:
|
||||
response = requests.get(f"http://{config.get('Service', 'Domain')}/profile.json")
|
||||
response = requests.get(f"http://{config.get('Service', 'Domain')}/status.json")
|
||||
if response.status_code != 200:
|
||||
raise
|
||||
except:
|
||||
|
|
Loading…
Add table
Reference in a new issue