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

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

@@ -17,7 +17,7 @@ class FileUploadServiceFactory {
     // temporarily use envToModuleMappings [remove in GW-4136]
     // temporarily use envToModuleMappings [remove in GW-4136]
     const fileUplodeTypeInConfig = envToModuleMappings[crowi.configManager.getConfig('crowi', 'app:fileUploadType')];
     const fileUplodeTypeInConfig = envToModuleMappings[crowi.configManager.getConfig('crowi', 'app:fileUploadType')];
 
 
-    const method = envToModuleMappings[process.env.FILE_UPLOAD] || fileUplodeTypeInConfig || 'ppp';
+    const method = envToModuleMappings[process.env.FILE_UPLOAD] || fileUplodeTypeInConfig || 'aws';
     const modulePath = `./${method}`;
     const modulePath = `./${method}`;
     this.uploader = require(modulePath)(crowi);
     this.uploader = require(modulePath)(crowi);