mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-23 21:56:57 +00:00
Clarify expiration time unit in getReadURL.md (#2525)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
Updated the documentation to specify that the expiration time is in milliseconds instead of seconds.
This commit is contained in:
@@ -21,7 +21,7 @@ The path to the file to read.
|
||||
|
||||
#### `expiresIn` (Number) (Optional)
|
||||
|
||||
The number of seconds until the URL expires. If not provided, the URL will expire in 24 hours.
|
||||
The number of milliseconds until the URL expires. If not provided, the URL will expire in 24 hours.
|
||||
|
||||
## Return value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user