Procházet zdrojové kódy

Production will always use https.

Andrew Swistak před 6 roky
rodič
revize
23bf0af327
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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.