Skip to content
Snippets Groups Projects
Commit 714f5bcc authored by Daniel Gruesso's avatar Daniel Gruesso
Browse files

Update server.rb

parent a0636eba
No related branches found
No related tags found
No related merge requests found
Pipeline #36330 passed with stages
in 9 minutes and 50 seconds
......@@ -6,7 +6,7 @@ server = WEBrick::HTTPServer.new :Port => ENV.fetch('PORT'){ 5000 }
#Return a successful Hello World response.
server.mount_proc '/' do |_request, response|
#TODO: use HTML
response.body = '<h1>Hello from GitLab Contribute 2019!</h1>'
response.body = 'Hello world!'
sleep 0.125 + SecureRandom.random_number*0.250
end
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment