Forráskód Böngészése

Change canonical URLs to HTTPS

Thibaut Courouble 7 éve
szülő
commit
6aae9eb096
1 módosított fájl, 1 hozzáadás és 1 törlés
  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