mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-16 13:03:37 +00:00
Only force ssl on Heroku
This commit is contained in:
@@ -94,8 +94,10 @@ Wrestling::Application.configure do
|
|||||||
config.assets.compile = true
|
config.assets.compile = true
|
||||||
config.assets.digest = true
|
config.assets.digest = true
|
||||||
|
|
||||||
#Added by me to force SSL in production
|
#Added by me to force SSL in production on heroku
|
||||||
config.force_ssl = true
|
if ENV["IS_HEROKU"] == "true"
|
||||||
|
config.force_ssl = true
|
||||||
|
end
|
||||||
|
|
||||||
#MAIL
|
#MAIL
|
||||||
config.action_mailer.smtp_settings = {
|
config.action_mailer.smtp_settings = {
|
||||||
|
|||||||
Reference in New Issue
Block a user