Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't redirect XML feed requests

  • Loading branch information...
commit 3a208eebf9301af2b8f1ad16743812e73ba8c104 1 parent 5fae327
@rwdaigle authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 config.ru
View
6 config.ru
@@ -34,9 +34,9 @@ use Rack::Rewrite do
# http://ryandaigle.com/archives/2007/10
r301 %r{/archives/(\d{4})/(\d+)}, 'http://archives.ryandaigle.com/archives/$1/$2'
- r301 %r{/articles.xml(\?.*)?}, 'http://feeds.feedburner.com/RyansScraps', :if => Proc.new { |rack_env|
- ENV['RACK_ENV'] == 'production' && rack_env['HTTP_USER_AGENT'] !~ /FeedBurner/
- }
+ # r301 %r{/articles.xml(\?.*)?}, 'http://feeds.feedburner.com/RyansScraps', :if => Proc.new { |rack_env|
+ # ENV['RACK_ENV'] == 'production' && rack_env['HTTP_USER_AGENT'] !~ /FeedBurner/
+ # }
end
require 'nesta/env'
Please sign in to comment.
Something went wrong with that request. Please try again.