Explorar o código

Fix /docs.json in production

Thibaut %!s(int64=10) %!d(string=hai) anos
pai
achega
859bc1fa85
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/app.rb

+ 1 - 1
lib/app.rb

@@ -173,7 +173,7 @@ class App < Sinatra::Application
   end
 
   get '/docs.json' do
-    redirect asset_path('docs.json')
+    redirect asset_path('docs.json', protocol: 'http')
   end
 
   get '/s/maxcdn' do