Skip to content

Commit 42010bb

Browse files
committed
fix: use base_url instead of url
1 parent e500038 commit 42010bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/chatbot/routers/share.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def create_share(
8585
snapshot_ref = agent_state.config["configurable"]
8686

8787
share_id = uuid4()
88-
shared_url = urljoin(str(request.url), f"/share/{share_id}")
88+
shared_url = urljoin(str(request.base_url), f"/share/{share_id}")
8989

9090
share = ORMShare(
9191
id=share_id,

0 commit comments

Comments
 (0)