From adf4b68008977ddc7d366c94c95eb584b39efc6e Mon Sep 17 00:00:00 2001 From: farhatahmad <35435341+farhatahmad@users.noreply.github.com> Date: Fri, 17 May 2019 12:52:53 -0400 Subject: [PATCH] GRN2-139: Fixed issue with default bbb endpoint (#522) * Fixed issue with default bbb endpoint * Fixed issue with configuration rake task --- config/application.rb | 2 +- lib/tasks/configuration.rake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/application.rb b/config/application.rb index b5c75c82..2a5dc010 100644 --- a/config/application.rb +++ b/config/application.rb @@ -48,7 +48,7 @@ module Greenlight config.gl_callback_url = ENV["GL_CALLBACK_URL"] # Default credentials (test-install.blindsidenetworks.com/bigbluebutton). - config.bigbluebutton_endpoint_default = "http://test-install.blindsidenetworks.com/bigbluebutton/" + config.bigbluebutton_endpoint_default = "http://test-install.blindsidenetworks.com/bigbluebutton/api/" config.bigbluebutton_secret_default = "8cd8ef52e8e101574e400365b55e11a6" # Use standalone BigBlueButton server. diff --git a/lib/tasks/configuration.rake b/lib/tasks/configuration.rake index 0e9573ee..602f245c 100644 --- a/lib/tasks/configuration.rake +++ b/lib/tasks/configuration.rake @@ -24,7 +24,7 @@ namespace :conf do # Tests the checksum on the getMeetings api call print "Checking Secret" checksum = Digest::SHA1.hexdigest("getMeetings#{ENV['BIGBLUEBUTTON_SECRET']}") - test_request("#{ENV['BIGBLUEBUTTON_ENDPOINT']}api/getMeetings?checksum=#{checksum}") + test_request("#{ENV['BIGBLUEBUTTON_ENDPOINT']}getMeetings?checksum=#{checksum}") passed if ENV['ALLOW_MAIL_NOTIFICATIONS'] == 'true'