mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 23:59:40 +02:00
Support deprecated SELF_HOSTING_ENABLED variable for now
This commit is contained in:
parent
40c09279f3
commit
7758f51be9
1 changed files with 1 additions and 1 deletions
|
@ -29,6 +29,6 @@ module Maybe
|
|||
# TODO: This is here for incremental adoption of localization. This can be removed when all translations are implemented.
|
||||
config.i18n.fallbacks = true
|
||||
|
||||
config.app_mode = (ENV["SELF_HOSTED"] == "true" ? "self_hosted" : "managed").inquiry
|
||||
config.app_mode = (ENV["SELF_HOSTED"] == "true" || ENV["SELF_HOSTING_ENABLED"] == "true" ? "self_hosted" : "managed").inquiry
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue