Skip to content

Commit

Permalink
Fix config double assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianAppDev committed Jul 15, 2024
1 parent ffee326 commit 97027f4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ class Application < Rails::Application

config.bigbluebutton_secret = ENV.fetch('BIGBLUEBUTTON_SECRET', '8cd8ef52e8e101574e400365b55e11a6')

config.relative_url_root = ENV.fetch('RELATIVE_URL_ROOT', '/')
# Fetch 'RELATIVE_URL_ROOT' ENV variable value while removing any trailing slashes.
config.relative_url_root = ENV.fetch('RELATIVE_URL_ROOT', nil)&.sub(%r{/*\z}, '')
config.relative_url_root = '/' if config.relative_url_root.blank?
Expand Down

0 comments on commit 97027f4

Please sign in to comment.