Browse Source

add methods

itizawa 5 năm trước cách đây
mục cha
commit
6f1f89e163
1 tập tin đã thay đổi với 11 bổ sung0 xóa
  1. 11 0
      src/server/service/file-uploader/uploader.js

+ 11 - 0
src/server/service/file-uploader/uploader.js

@@ -61,6 +61,17 @@ class Uploader {
     return false;
   }
 
+  /**
+   * Whether to redirect to an external signed url.
+   */
+  isReferSignedUrl() {
+    return false;
+  }
+
+  issueSignedUrl() {
+    throw new Error('Implement this');
+  }
+
   /**
    * Respond to the HTTP request.
    * @param {Response} res