Permalink
Browse files

redirect

  • Loading branch information...
1 parent f939845 commit 6c52412afa09d47360789c6e76c837c1fbb8e34a @sethvincent committed Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app.rb
View
2 app.rb
@@ -2,5 +2,5 @@
require 'sinatra'
get '/' do
- File.read(File.join('public', 'index.html'))
+ redirect '/index.html'
end

0 comments on commit 6c52412

Please sign in to comment.