added polyglot.live to request origins and commented out unnecessary information on chatroom show page

This commit is contained in:
Beatrice Olivera
2018-08-31 06:02:24 +01:00
parent f911f91da5
commit c264c98444
2 changed files with 11 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ Rails.application.configure do
# Mount Action Cable outside main process or domain
# config.action_cable.mount_path = nil
config.action_cable.url = 'wss://polyglot-173.herokuapp.com/cable'
config.action_cable.allowed_request_origins = [ 'https://polyglot-173.herokuapp.com/' ]
config.action_cable.allowed_request_origins = [ 'https://polyglot-173.herokuapp.com/', 'https://www.polyglot.live/' ]
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
config.force_ssl = true