History

Fix /docs.json in production

Thibaut committed 11 years ago

Commit 859bc1f1 parent 0ebf5e61 file · +1 −1Browse files

Unified · Split

lib/app.rb+1−1
@@ -173,7 +173,7 @@ class App < Sinatra::Application · 172 unmodified lines
173 end173 end
174 174
175 get '/docs.json' do175 get '/docs.json' do
176 redirect asset_path('docs.json')176 redirect asset_path('docs.json', protocol: 'http')
177 end177 end
178 178
179 get '/s/maxcdn' do179 get '/s/maxcdn' do