1
0
Fork 0
mirror of https://github.com/neocities/neocities.git synced 2025-05-13 16:07:19 +02:00
neocities/app/blog.rb
2015-07-23 17:27:37 -07:00

7 lines
166 B
Ruby

get '/blog/?' do
redirect 'https://blog.neocities.org', 301
end
get '/blog/:article' do |article|
redirect "https://blog.neocities.org/#{article}.html", 301
end