added request origin
This commit is contained in:
parent
bb5e5eff15
commit
cac4846f5f
|
@ -47,7 +47,7 @@ Rails.application.configure do
|
||||||
# Mount Action Cable outside main process or domain
|
# Mount Action Cable outside main process or domain
|
||||||
# config.action_cable.mount_path = nil
|
# config.action_cable.mount_path = nil
|
||||||
config.action_cable.url = 'wss://polyglot-173.herokuapp.com/cable'
|
config.action_cable.url = 'wss://polyglot-173.herokuapp.com/cable'
|
||||||
config.action_cable.allowed_request_origins = [ '*' ]
|
config.action_cable.allowed_request_origins = [ 'https://polyglot-173.herokuapp.com/' ]
|
||||||
|
|
||||||
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||||
config.force_ssl = true
|
config.force_ssl = true
|
||||||
|
|
Loading…
Reference in New Issue