Fixing more configuration issues with ActionCable
This commit is contained in:
parent
5a8c149f6b
commit
8985f8e66c
4 changed files with 9 additions and 5 deletions
|
@ -4,6 +4,4 @@ Rails.application.configure do
|
|||
config.x.use_https = ENV['LOCAL_HTTPS'] == 'true'
|
||||
|
||||
config.action_mailer.default_url_options = { host: config.x.local_domain, protocol: config.x.use_https ? 'https://' : 'http://' }
|
||||
|
||||
config.action_cable.allowed_request_origins = ["http#{config.x.use_https ? 's' : ''}://#{config.x.local_domain}"]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue