Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Support deprecated SELF_HOSTING_ENABLED variable for now

Josh Pigford7758f51be925
diff --git a/config/application.rb b/config/application.rb
index 17caf1f9..3615cb76 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -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