Explorar o código

Change canonical URLs to HTTPS

Thibaut Courouble %!s(int64=7) %!d(string=hai) anos
pai
achega
6aae9eb096
Modificáronse 1 ficheiros con 1 adicións e 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