|
@@ -229,12 +229,12 @@ class ConfigManager extends S2sMessageHandlable {
|
|
|
&& this.defaultSearch('crowi', 'security:passport-saml:useOnlyEnvVarsForSomeOptions')
|
|
&& this.defaultSearch('crowi', 'security:passport-saml:useOnlyEnvVarsForSomeOptions')
|
|
|
)
|
|
)
|
|
|
// file upload option
|
|
// file upload option
|
|
|
- // [TODO GW-4173] control with the env var gcs:isFileUploadEnvPrioritizes
|
|
|
|
|
|| KEYS_FOR_FIEL_UPLOAD_USE_ONLY_ENV_OPTION.includes(key)
|
|
|| KEYS_FOR_FIEL_UPLOAD_USE_ONLY_ENV_OPTION.includes(key)
|
|
|
|
|
+ && this.defaultSearch('crowi', 'app:isFileUploadEnvPrioritized')
|
|
|
// gcp option
|
|
// gcp option
|
|
|
|| (
|
|
|| (
|
|
|
KEYS_FOR_GCP_USE_ONLY_ENV_OPTION.includes(key)
|
|
KEYS_FOR_GCP_USE_ONLY_ENV_OPTION.includes(key)
|
|
|
- && this.searchOnlyFromEnvVarConfigs('crowi', 'gcs:isGcpEnvPrioritizes')
|
|
|
|
|
|
|
+ && this.searchOnlyFromEnvVarConfigs('crowi', 'gcs:isGcpEnvPrioritized')
|
|
|
)
|
|
)
|
|
|
));
|
|
));
|
|
|
}
|
|
}
|