From 5c34a02bb77f51fa0c48e3f575c9782316409ee1 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 9 Nov 2022 11:41:36 -0500 Subject: [PATCH] @uppy/companion: send expiry time along side S3 signed requests (#4202) --- src/server/controllers/s3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/controllers/s3.js b/src/server/controllers/s3.js index de928017b3..05f7339a0a 100644 --- a/src/server/controllers/s3.js +++ b/src/server/controllers/s3.js @@ -204,7 +204,7 @@ module.exports = function s3 (config) { next(err) return } - res.json({ url }) + res.json({ url, expires: config.expires }) }) }