Browse Source

Fix /docs.json in production

Thibaut 10 years ago
parent
commit
859bc1fa85
1 changed files with 1 additions and 1 deletions
  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