فهرست منبع

companion: more comments

Ifedapo Olarewaju 5 سال پیش
والد
کامیت
4e369d763f
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      packages/@uppy/companion/src/server/Uploader.js

+ 2 - 1
packages/@uppy/companion/src/server/Uploader.js

@@ -344,7 +344,8 @@ class Uploader {
       uploadSize: this.bytesWritten,
       metadata: Object.assign(
         {
-          // file name and type as specified by tus protocol
+          // file name and type as required by the tusd tus server
+          // https://github.com/tus/tusd/blob/5b376141903c1fd64480c06dde3dfe61d191e53d/unrouted_handler.go#L614-L646
           filename: this.uploadFileName,
           filetype: this.options.metadata.type
         }, this.options.metadata