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
3069fa80
Unverified
Commit
3069fa80
authored
Jun 05, 2024
by
mindspawn
Committed by
GitHub
Jun 05, 2024
Browse files
Update main.py to enable http_proxy use for checking for new versions
parent
a8d80f93
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 @
3069fa80
...
@@ -902,7 +902,7 @@ async def get_app_changelog():
...
@@ -902,7 +902,7 @@ async def get_app_changelog():
@
app
.
get
(
"/api/version/updates"
)
@
app
.
get
(
"/api/version/updates"
)
async
def
get_app_latest_release_version
():
async
def
get_app_latest_release_version
():
try
:
try
:
async
with
aiohttp
.
ClientSession
()
as
session
:
async
with
aiohttp
.
ClientSession
(
trust_env
=
True
)
as
session
:
async
with
session
.
get
(
async
with
session
.
get
(
"https://api.github.com/repos/open-webui/open-webui/releases/latest"
"https://api.github.com/repos/open-webui/open-webui/releases/latest"
)
as
response
:
)
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