dynamically select websocket protocol

This commit is contained in:
Josh
2018-06-21 10:57:20 -04:00
parent 54adff3779
commit ad7aaa1a11
3 changed files with 18 additions and 1 deletions

View File

@ -18,6 +18,12 @@ class ApplicationController < ActionController::Base
end
helper_method :user_name_limit
# Relative root helper (when deploying to subdirectory).
def relative_root
Rails.configuration.relative_url_root || ""
end
helper_method :relative_root
# Determines if the BigBlueButton endpoint is configured (or set to default).
def bigbluebutton_endpoint_default?
return false if loadbalanced_configuration?