diff --git a/server_simple.rb b/server_simple.rb index fa8e425..084e431 100644 --- a/server_simple.rb +++ b/server_simple.rb @@ -11,4 +11,7 @@ trap 'INT' do server.shutdown end ## Start the server +server.mount_proc '/' do |req, res| + res.body = 'Hello, world!' +end server.start \ No newline at end of file