update config for heroku and prod

This commit is contained in:
Connor Turland 2017-01-04 11:08:32 -05:00
parent 3868910dde
commit 9e6ce90950
2 changed files with 3 additions and 1 deletions
config

View file

@ -6,4 +6,4 @@ test:
production: production:
adapter: redis adapter: redis
url: redis://localhost:6379/1 url: <%= ENV['REDISTOGO_URL'] %>

View file

@ -3,6 +3,8 @@
Rails.application.configure do Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb # 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 # log to stdout
logger = Logger.new(STDOUT) logger = Logger.new(STDOUT)
logger.formatter = config.log_formatter logger.formatter = config.log_formatter