Explorar el Código

Change canonical URLs to HTTPS

Thibaut Courouble hace 7 años
padre
commit
6aae9eb096
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/app.rb

+ 1 - 1
lib/app.rb

@@ -133,7 +133,7 @@ class App < Sinatra::Application
     end
 
     def canonical_origin
-      "http://#{request.host_with_port}"
+      "https://#{request.host_with_port}"
     end
 
     def browser