Skip to content
Snippets Groups Projects
Unverified Commit 154cbb0c authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Factor in different formats for endpoints (#4799)

parent 22c8b83d
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,8 @@ module Greenlight ...@@ -42,7 +42,8 @@ module Greenlight
config.active_storage.variant_processor = :mini_magick config.active_storage.variant_processor = :mini_magick
config.bigbluebutton_endpoint = ENV.fetch('BIGBLUEBUTTON_ENDPOINT', 'https://test-install.blindsidenetworks.com/bigbluebutton/api') config.bigbluebutton_endpoint = ENV.fetch('BIGBLUEBUTTON_ENDPOINT', 'https://test-install.blindsidenetworks.com/bigbluebutton/api')
config.bigbluebutton_endpoint = File.join(config.bigbluebutton_endpoint, '/api') unless config.bigbluebutton_endpoint.end_with?('api', 'api/') config.bigbluebutton_endpoint = File.join(config.bigbluebutton_endpoint, '') unless config.bigbluebutton_endpoint.end_with?('/')
config.bigbluebutton_endpoint = File.join(config.bigbluebutton_endpoint, '/api/') unless config.bigbluebutton_endpoint.end_with?('api', 'api/')
config.bigbluebutton_secret = ENV.fetch('BIGBLUEBUTTON_SECRET', '8cd8ef52e8e101574e400365b55e11a6') config.bigbluebutton_secret = ENV.fetch('BIGBLUEBUTTON_SECRET', '8cd8ef52e8e101574e400365b55e11a6')
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment