Created
October 29, 2014 01:58
-
-
Save hotgazpacho/49cc4cd7d12915c8fc79 to your computer and use it in GitHub Desktop.
Why doesn't this work on Heroku?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sinatra' | |
class MyApp < Sinatra::Base | |
get '/' do | |
send_file File.join(settings.public_folder, 'index.html') | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment