1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Set up SSL in production

This commit is contained in:
Jacob Cody Wimer
2014-01-23 10:47:33 -05:00
parent 7b726b38c0
commit e36b4ec5ab

View File

@@ -78,8 +78,13 @@ Wrestling::Application.configure do
# Use default logging formatter so that PID and timestamp are not suppressed.
config.log_formatter = ::Logger::Formatter.new
#THESE ADDED BY ME TO GET RAILS 4 WORKING IN HEROKU
config.cache_classes = true
config.serve_static_assets = true
config.assets.compile = true
config.assets.digest = true
#Added by me to force SSL in production
config.force_ssl = true
end