diff --git a/config/cable.yml b/config/cable.yml index 0bbde6f7..34eb5cdc 100644 --- a/config/cable.yml +++ b/config/cable.yml @@ -6,4 +6,4 @@ test: production: adapter: redis - url: redis://localhost:6379/1 + url: <%= ENV['REDISTOGO_URL'] %> diff --git a/config/environments/production.rb b/config/environments/production.rb index ab4769b6..fd7ff05a 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -3,6 +3,8 @@ Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb + config.action_cable.allowed_request_origins = ['https://metamaps.herokuapp.com', 'http://metamaps.herokuapp.com', 'https://metamaps.cc'] + # log to stdout logger = Logger.new(STDOUT) logger.formatter = config.log_formatter