Make sure the loadbalancer URL is correct (#440)

This commit is contained in:
Jesus Federico 2019-04-08 09:19:35 -04:00 committed by GitHub
parent b15868fb3c
commit 154bb883b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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