change: use status.json
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
e5277d50f8
commit
895f27470f
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
|
# TODO: do some PublicDomain checks or something
|
||||||
# noinspection PyBroadException
|
# noinspection PyBroadException
|
||||||
try:
|
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:
|
if response.status_code != 200:
|
||||||
raise
|
raise
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Add table
Reference in a new issue