Skip to content

Commit 29458f8

Browse files
committed
[client] Append path for API
1 parent 646e64a commit 29458f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyobas/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def _build_url(self, path: str) -> str:
103103
"""
104104
if path.startswith("http://") or path.startswith("https://"):
105105
return path
106-
return f"{self.url}{path}"
106+
return f"{self.url}/api{path}"
107107

108108
def _get_session_opts(self) -> Dict[str, Any]:
109109
return {

0 commit comments

Comments
 (0)