Skip to content
Snippets Groups Projects
Commit 95a98f65 authored by farhatahmad's avatar farhatahmad Committed by Jesus Federico
Browse files

Added check for bigbluebutton/ for endpoint config (#408)

parent dd462990
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,9 @@ module Greenlight
config.bigbluebutton_secret = ENV["BIGBLUEBUTTON_SECRET"] || config.bigbluebutton_secret_default
# Fix endpoint format if required.
config.bigbluebutton_endpoint += "/" unless config.bigbluebutton_endpoint.ends_with?('/')
config.bigbluebutton_endpoint +=
"bigbluebutton/api/" unless config.bigbluebutton_endpoint.ends_with?('bigbluebutton/api/')
config.bigbluebutton_endpoint += "api/" unless config.bigbluebutton_endpoint.ends_with?('api/')
if config.loadbalanced_configuration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment