Permalink
Browse files

Redirecting blog.

  • Loading branch information...
1 parent 79c037c commit db34f79ee0f5083b5c9faa0d93f3e553dac6c337 @treeder treeder committed Dec 7, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 hello.rb
View
@@ -7,5 +7,9 @@
end
get '*' do
+ if request.host == "blog.simpleworker.com"
+ redirect "#{request.scheme}://blog.iron.io#{request.path}"
+ return
+ end
redirect '/'
end

0 comments on commit db34f79

Please sign in to comment.