Sha256: 70d6ec742556d67ef0f8698abe78018a35a96d0f58d1a31915f0d769848f0065

Contents?: true

Size: 332 Bytes

Versions: 9

Compression:

Stored size: 332 Bytes

Contents

#!/usr/bin/env ruby

require 'ronin/web/server'

class App < Ronin::Web::Server::Base
<%- if (@host || @port) -%>

  <%- if @host -%>
  set :host, <%= @host.inspect %>
  <%- end -%>
  <%- if @port -%>
  set :port, <%= @port.inspect %>
  <%- end -%>
<%- end -%>

  get '/' do
    "hello world"
  end

end

App.run! if __FILE__ == $0

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ronin-web-2.0.0 data/new/server.rb.erb
ronin-web-2.0.0.rc1 data/new/server.rb.erb
ronin-web-1.0.2 data/new/server.rb.erb
ronin-web-1.0.1 data/new/server.rb.erb
ronin-web-1.0.0 data/new/server.rb.erb
ronin-web-1.0.0.beta4 data/new/server.rb.erb
ronin-web-1.0.0.beta3 data/new/server.rb.erb
ronin-web-1.0.0.beta2 data/new/server.rb.erb
ronin-web-1.0.0.beta1 data/new/server.rb.erb