repl.it
@anonymous/

UnequaledImaginativeInternalcommand

Ruby

No description

fork
loading
Files
  • main.rb
main.rb
1
2
3
4
5
6
7
8
9
10
11
12
# Convert me to project mode before running!
# https://repl.it/site/docs/files#project-mode

require 'sinatra'

set :protection, :except => :frame_options
set :bind, '0.0.0.0'
set :port, 8080

get '/' do 
  'Hello world!' 
end
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux]