From 859bc1fa85f477963ecda5f5d338bd95a4773e06 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Wed, 20 May 2015 07:36:58 -0400 Subject: [PATCH] Fix /docs.json in production --- lib/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app.rb b/lib/app.rb index bf45c218..61cba919 100644 --- a/lib/app.rb +++ b/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