mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
refac: return only last 5 changelog
This commit is contained in:
parent
15f4153fda
commit
e47d6ce1f6
@ -245,7 +245,7 @@ async def get_app_config():
|
||||
|
||||
@app.get("/api/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")
|
||||
|
Loading…
Reference in New Issue
Block a user