diff --git a/storage3/_async/file_api.py b/storage3/_async/file_api.py index 86796f9c..3e409c18 100644 --- a/storage3/_async/file_api.py +++ b/storage3/_async/file_api.py @@ -72,7 +72,7 @@ async def get_public_url(self, path: str) -> str: file path, including the path and file name. For example `folder/image.png`. """ _path = self._get_final_path(path) - return f"{self._client.base_url}/object/public/{_path}" + return f"{self._client.base_url}object/public/{_path}" async def move(self, from_path: str, to_path: str) -> dict[str, str]: """ diff --git a/storage3/_sync/file_api.py b/storage3/_sync/file_api.py index ed84863f..6b21c342 100644 --- a/storage3/_sync/file_api.py +++ b/storage3/_sync/file_api.py @@ -72,7 +72,7 @@ def get_public_url(self, path: str) -> str: file path, including the path and file name. For example `folder/image.png`. """ _path = self._get_final_path(path) - return f"{self._client.base_url}/object/public/{_path}" + return f"{self._client.base_url}object/public/{_path}" def move(self, from_path: str, to_path: str) -> dict[str, str]: """