itizawa 5 лет назад
Родитель
Сommit
21aede123b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/server/service/file-uploader/gcs.js

+ 1 - 1
src/server/service/file-uploader/gcs.js

@@ -68,7 +68,7 @@ module.exports = function(crowi) {
     const filePath = getFilePathOnStorage(attachment);
     const filePath = getFilePathOnStorage(attachment);
     const file = myBucket.file(filePath);
     const file = myBucket.file(filePath);
 
 
-    // issue signed url for 30 seconds
+    // issue signed url for 120 seconds
     // https://cloud.google.com/storage/docs/access-control/signed-urls
     // https://cloud.google.com/storage/docs/access-control/signed-urls
     const signedUrl = await file.getSignedUrl({
     const signedUrl = await file.getSignedUrl({
       action: 'read',
       action: 'read',