mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
blog slash indifference
This commit is contained in:
parent
fe5b47ce53
commit
88503191bd
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue