Skip to content

Commit

Permalink
Merge pull request #19 from hv0905/fix/local-presign
Browse files Browse the repository at this point in the history
Implementing presign url for local storage
  • Loading branch information
pk5ls20 authored Apr 29, 2024
2 parents 76d25f8 + e383111 commit 9c04ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/storage/local_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def url(self,
async def presign_url(self,
remote_file: "RemoteFilePathType",
expire_second: int = 3600) -> str:
raise NotImplementedError
raise f"/static/{str(remote_file)}"

@transform_exception("remote")
async def fetch(self,
Expand Down

0 comments on commit 9c04ddd

Please sign in to comment.