set up redis and heroku config
This commit is contained in:
parent
31eeee305e
commit
7777c01d3b
|
@ -6,5 +6,5 @@ test:
|
|||
|
||||
production:
|
||||
adapter: redis
|
||||
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
|
||||
url: ${REDISTOGO_URL}
|
||||
channel_prefix: polyglot_production
|
||||
|
|
|
@ -46,8 +46,8 @@ Rails.application.configure do
|
|||
|
||||
# Mount Action Cable outside main process or domain
|
||||
# config.action_cable.mount_path = nil
|
||||
# config.action_cable.url = 'wss://example.com/cable'
|
||||
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
|
||||
config.action_cable.url = 'wss://polyglot-173.herokuapp.com/cable'
|
||||
config.action_cable.allowed_request_origins = [ '*' ]
|
||||
|
||||
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||
# config.force_ssl = true
|
||||
|
|
Loading…
Reference in New Issue