yusuketk %!s(int64=5) %!d(string=hai) anos
pai
achega
a54689fc0e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/client/js/services/AdminAppContainer.js

+ 2 - 1
src/client/js/services/AdminAppContainer.js

@@ -109,7 +109,8 @@ export default class AdminAppContainer extends Container {
       isEnabledPlugins: appSettingsParams.isEnabledPlugins,
     });
 
-    // check is file upload type forced
+    // if isFileUploadEnvPrioritized is true, get fileUploadType from only env var and make the forms fixed.
+    // and if env var 'FILE_UPLOAD' is not set, envFileUploadType is 'aws' that is default value of 'FILE_UPLOAD'.
     if (appSettingsParams.isFileUploadEnvPrioritized) {
       this.setState({ fileUploadType: appSettingsParams.envFileUploadType });
       this.setState({ isFixedFileUploadByEnvVar: true });