Make sure the loadbalancer URL is correct (#440)

v2
Jesus Federico 4 years ago committed by GitHub
parent b15868fb3c
commit 154bb883b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      config/application.rb

@ -64,6 +64,10 @@ module Greenlight
config.loadbalancer_secret = ENV["LOADBALANCER_SECRET"]
config.launcher_secret = ENV["LAUNCHER_SECRET"]
config.launcher_allow_user_signup = ENV["LAUNCHER_ALLOW_GREENLIGHT_ACCOUNTS"]
# Fix endpoint format if required.
config.loadbalancer_endpoint += "/" unless config.bigbluebutton_endpoint.ends_with?("/")
config.loadbalancer_endpoint = config.loadbalancer_endpoint.chomp("api/")
end
# Specify the email address that all mail is sent from