forked from External/greenlight
GRN-93: Fix for issue with excesive requests to LB (#447)
* Fix for issue with excesive requests to lb * Fixed issue with rspec on users not passing when run alone * Include dotenv in production
This commit is contained in:
@ -68,10 +68,13 @@ module Greenlight
|
||||
# Fix endpoint format if required.
|
||||
config.loadbalancer_endpoint += "/" unless config.bigbluebutton_endpoint.ends_with?("/")
|
||||
config.loadbalancer_endpoint = config.loadbalancer_endpoint.chomp("api/")
|
||||
|
||||
# Configure which settings are available to user on room creation/edit after creation
|
||||
config.url_host = ENV['URL_HOST'] || ''
|
||||
end
|
||||
|
||||
# Specify the email address that all mail is sent from
|
||||
config.email_sender = ENV['EMAIL_SENDER'].present? ? ENV['EMAIL_SENDER'] : "notifications@example.com"
|
||||
config.smtp_sender = ENV['SMTP_SENDER'] || "notifications@example.com"
|
||||
|
||||
# Determine if GreenLight should enable email verification
|
||||
config.enable_email_verification = (ENV['ALLOW_MAIL_NOTIFICATIONS'] == "true")
|
||||
|
Reference in New Issue
Block a user