|
|
@@ -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 });
|