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' | |
# Set port for compatability with Nitrous.IO | |
configure :development do | |
set :bind, '0.0.0.0' | |
set :port, 3000 # Not really needed, but works well with the "Preview" menu option | |
end | |
get '/' do | |
"Sinatra on Nitrous.IO" |