do not load storage configs in dev

This commit is contained in:
Pete Matsyburka
2024-04-17 16:51:42 +03:00
parent 1e57c1ace7
commit 4d354ae9ff
+1
View File
@@ -19,6 +19,7 @@ module LoadActiveStorageConfigs
return if Docuseal.multitenant?
return if IS_ENV_CONFIGURED
return if Rails.env.test?
return if Rails.env.development?
encrypted_config = EncryptedConfig.find_by(key: EncryptedConfig::FILES_STORAGE_KEY)