diff --git a/remnawave_api.py b/remnawave_api.py index 0b1fb404..277a55a2 100644 --- a/remnawave_api.py +++ b/remnawave_api.py @@ -20,8 +20,8 @@ class RemnaWaveAPI: 'Authorization': f'Bearer {self.token}', 'Content-Type': 'application/json', 'Accept': 'application/json', - 'X-Forwarded-Proto': 'https', # ← ДОБАВЬ ЭТО - 'X-Forwarded-For': '127.0.0.1' # ← И ЭТО + 'X-Forwarded-Proto': 'https', + 'X-Forwarded-For': '127.0.0.1' } timeout = aiohttp.ClientTimeout(total=30) self.session = aiohttp.ClientSession(