-
-
Save arietis/1e785677af0aecdff503 to your computer and use it in GitHub Desktop.
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 Server < Sinatra::Base | |
set :static, true | |
set :public, File.dirname(__FILE__) + '/static' | |
get '/' do | |
redirect "/index.html" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment