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
e47d6ce1
Commit
e47d6ce1
authored
Mar 31, 2024
by
Timothy J. Baek
Browse files
refac: return only last 5 changelog
parent
15f4153f
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 @
e47d6ce1
...
@@ -245,7 +245,7 @@ async def get_app_config():
...
@@ -245,7 +245,7 @@ async def get_app_config():
@
app
.
get
(
"/api/changelog"
)
@
app
.
get
(
"/api/changelog"
)
async
def
get_app_changelog
():
async
def
get_app_changelog
():
return
CHANGELOG
return
{
key
:
CHANGELOG
[
key
]
for
idx
,
key
in
enumerate
(
CHANGELOG
)
if
idx
<
5
}
@
app
.
get
(
"/api/version/updates"
)
@
app
.
get
(
"/api/version/updates"
)
...
...
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