refactor: use status.json

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2025-03-25 22:38:24 +03:00
parent e5277d50f8
commit 60e2b4e3af
Signed by: mctaylors
GPG key ID: 4EEF4F949A266EE2

View file

@ -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: