feat: add GlobalConfigService to support env vars migration (#3288)
This commit is contained in:
@@ -27,7 +27,8 @@ class DashboardController < ActionController::Base
|
||||
'ANALYTICS_TOKEN',
|
||||
'ANALYTICS_HOST'
|
||||
).merge(
|
||||
APP_VERSION: Chatwoot.config[:version]
|
||||
APP_VERSION: Chatwoot.config[:version],
|
||||
ENABLE_ACCOUNT_SIGNUP: GlobalConfigService.load('ENABLE_ACCOUNT_SIGNUP', 'false')
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user