-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(storage)!: add file upload/update by url instead of base64 (#550)
- Loading branch information
1 parent
956eb32
commit 8b32a8e
Showing
10 changed files
with
369 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// 60 minutes | ||
export const SIGNED_URL_EXPIRY = 3600 * 1000; | ||
export const SIGNED_URL_EXPIRY_DATE = () => Date.now() + SIGNED_URL_EXPIRY; | ||
export const SIGNED_URL_EXPIRY_SECONDS = SIGNED_URL_EXPIRY / 1000; |
Oops, something went wrong.