blog slash indifference

This commit is contained in:
Kyle Drake 2014-12-31 18:13:31 -06:00
parent fe5b47ce53
commit 88503191bd

View file

@ -1,7 +1,7 @@
require 'net/http'
require 'uri'
get '/blog' do
get '/blog/?' do
expires 500, :public, :must_revalidate
return Net::HTTP.get_response(URI('http://blog.neocities.org')).body
end
@ -19,4 +19,4 @@ get '/blog/:article' do |article|
article = article.match(/^[a-zA-Z0-9-]+/).to_s
retry
end
end
end