Created
February 21, 2016 20:10
-
-
Save TiagoTi/dc1e23af08bc2b4a6380 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' | |
# Listen on all interfaces in the development environment | |
set :bind, '0.0.0.0' | |
get '/' do | |
"Hello World! Is it " + settings.bind + " you're looking for?" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment