mirror of
https://github.com/docusealco/docuseal
synced 2026-11-11 15:42:32 -05:00
do not load storage configs in dev
This commit is contained in:
1 parent
1e57c1ace7
commit
4d354ae9ff
1 file changed
+1
@@ -19,6 +19,7 @@ module LoadActiveStorageConfigs
|
|||||||
return if Docuseal.multitenant?
|
return if Docuseal.multitenant?
|
||||||
return if IS_ENV_CONFIGURED
|
return if IS_ENV_CONFIGURED
|
||||||
return if Rails.env.test?
|
return if Rails.env.test?
|
||||||
|
return if Rails.env.development?
|
||||||
|
|
||||||
encrypted_config = EncryptedConfig.find_by(key: EncryptedConfig::FILES_STORAGE_KEY)
|
encrypted_config = EncryptedConfig.find_by(key: EncryptedConfig::FILES_STORAGE_KEY)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user