mirror of
https://github.com/StefBuwalda/dashboard_test.git
synced 2025-10-29 10:49:59 +00:00
Disabled auto decompression for security reasons
This commit is contained in:
@@ -17,6 +17,7 @@ async def check_service(client: aiohttp.ClientSession, s: service) -> log:
|
||||
ssl=True if s.public_access else False,
|
||||
allow_redirects=True,
|
||||
timeout=timeout,
|
||||
auto_decompress=False,
|
||||
)
|
||||
case 1:
|
||||
r = await client.get(
|
||||
@@ -24,6 +25,7 @@ async def check_service(client: aiohttp.ClientSession, s: service) -> log:
|
||||
ssl=True if s.public_access else False,
|
||||
allow_redirects=True,
|
||||
timeout=timeout,
|
||||
auto_decompress=False,
|
||||
)
|
||||
case _:
|
||||
raise Exception("UNKNOWN PING TYPE")
|
||||
|
||||
Reference in New Issue
Block a user