mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-16 18:57:09 +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:
1 parent
9f87ccb460
commit
1ed765cb86
1 file changed
+1
-1
@@ -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