mirror of
https://github.com/open-webui/open-webui.git
synced 2024-02-27 23:27:23 +03:00
feat: enable backend ollama url update
This commit is contained in:
@@ -46,5 +46,7 @@ async def check_url(request: Request, call_next):
|
||||
|
||||
|
||||
app.mount("/api/v1", webui_app)
|
||||
app.mount("/ollama/api", WSGIMiddleware(ollama_app))
|
||||
# app.mount("/ollama/api", WSGIMiddleware(ollama_app))
|
||||
app.mount("/ollama/api", ollama_app)
|
||||
|
||||
app.mount("/", SPAStaticFiles(directory="../build", html=True), name="spa-static-files")
|
||||
|
||||
Reference in New Issue
Block a user