Files
patcher/patches/change_server.py
2025-08-24 13:09:00 +03:00

12 lines
250 B
Python

# Change api server of apk
import json
import requests
def apply(config: dict) -> bool:
response = requests.get(config['server'])
if response.status_code == 200:
print(json.loads(response.text))
return True
return False