forked from open-webui/open-webui
feat: enable backend ollama url update
This commit is contained in:
parent
bdb3f50771
commit
30aff2db53
13 changed files with 554 additions and 409 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue