Selaa lähdekoodia

Production will always use https.

Andrew Swistak 6 vuotta sitten
vanhempi
commit
23bf0af327
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      config/environments/production.rb

+ 1 - 1
config/environments/production.rb

@@ -48,7 +48,7 @@ Rails.application.configure do
   # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
 
   # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
-  # config.force_ssl = true
+  config.force_ssl = true
 
   # Use the lowest log level to ensure availability of diagnostic information
   # when problems arise.