Permalink
Browse files

file.read instead of redirect

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

0 comments on commit fb7445c

Please sign in to comment.