mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 21:42:58 +00:00
fix
This commit is contained in:
parent
3c382d4c6c
commit
a59fb6b9eb
@ -154,7 +154,7 @@ async def get_models(user=Depends(get_current_user)):
|
|||||||
async def proxy(path: str, request: Request, user=Depends(get_verified_user)):
|
async def proxy(path: str, request: Request, user=Depends(get_verified_user)):
|
||||||
body = await request.body()
|
body = await request.body()
|
||||||
|
|
||||||
url = "http://localhost:4000/v1"
|
url = "http://localhost:4000"
|
||||||
|
|
||||||
target_url = f"{url}/{path}"
|
target_url = f"{url}/{path}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user