From 88503191bda46dcb25025cb72180cb0504b2f668 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Wed, 31 Dec 2014 18:13:31 -0600 Subject: [PATCH] blog slash indifference --- app/blog.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/blog.rb b/app/blog.rb index 3d593485..e4969520 100644 --- a/app/blog.rb +++ b/app/blog.rb @@ -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 \ No newline at end of file +end