Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
b512501d
Unverified
Commit
b512501d
authored
Jun 06, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Jun 06, 2024
Browse files
Merge pull request #2870 from mindspawn/proxy-fix2
Fix proxy not being used for /api/version/updates
parents
d4b10097
3069fa80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/main.py
backend/main.py
+1
-1
No files found.
backend/main.py
View file @
b512501d
...
...
@@ -962,7 +962,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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment