From 3069fa80746a83ef8cd7e8c85a3ba64d7920abeb Mon Sep 17 00:00:00 2001 From: mindspawn Date: Wed, 5 Jun 2024 17:24:59 -0700 Subject: [PATCH] Update main.py to enable http_proxy use for checking for new versions --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index 4ab13e98f..8961ff440 100644 --- a/backend/main.py +++ b/backend/main.py @@ -902,7 +902,7 @@ async def get_app_changelog(): @app.get("/api/version/updates") async def get_app_latest_release_version(): try: - async with aiohttp.ClientSession() as session: + async with aiohttp.ClientSession(trust_env=True) as session: async with session.get( "https://api.github.com/repos/open-webui/open-webui/releases/latest" ) as response: