update config for heroku and prod
This commit is contained in:
parent
3868910dde
commit
9e6ce90950
2 changed files with 3 additions and 1 deletions
|
@ -6,4 +6,4 @@ test:
|
||||||
|
|
||||||
production:
|
production:
|
||||||
adapter: redis
|
adapter: redis
|
||||||
url: redis://localhost:6379/1
|
url: <%= ENV['REDISTOGO_URL'] %>
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue