Skip to content

Commit

Permalink
Configure ssl with env var
Browse files Browse the repository at this point in the history
  • Loading branch information
invisiblefunnel committed Nov 10, 2014
1 parent 7350925 commit a79e6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class App < Sinatra::Base
configure :production do
require 'newrelic_rpm'
require 'rack/ssl'
use Rack::SSL
use Rack::SSL unless ENV['NO_SSL'] == 'true'
end
end
end
Expand Down

0 comments on commit a79e6ca

Please sign in to comment.