Skip to content

Commit

Permalink
redeployed :p
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradIrwin committed Jun 21, 2012
1 parent e73bf31 commit b3c573d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.ru
Expand Up @@ -68,7 +68,7 @@ get '/challenge' do

# TODO: blindly trusting X-Forwarded-For headers is a bad idea.
# HACK using quick-deploy stack IP for now
remote_ip = IPAddr.new("172.18.158.41" || request.env['HTTP_X_FORWARDED_FOR'] || request.env['REMOTE_ADDR'])
remote_ip = IPAddr.new("172.18.158.55" || request.env['HTTP_X_FORWARDED_FOR'] || request.env['REMOTE_ADDR'])

buffer = "".force_encoding('BINARY')

Expand Down

0 comments on commit b3c573d

Please sign in to comment.