Skip to content

Commit

Permalink
Fix persign of local storage
Browse files Browse the repository at this point in the history
  • Loading branch information
hv0905 committed Apr 29, 2024
1 parent 9c04ddd commit c485743
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 f"/static/{str(remote_file)}"
return f"/static/{str(remote_file)}"

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

0 comments on commit c485743

Please sign in to comment.