Sha256: af366fa6f579ede677a0ad25cf5b83398bd8d761a8ab7ea5a5b6e2125a200c0c
Contents?: true
Size: 321 Bytes
Versions: 10
Compression:
Stored size: 321 Bytes
Contents
# frozen_string_literal: true require 'bundler/setup' require 'tipi' app_path = ARGV.first || File.expand_path('./config.ru', __dir__) app = Tipi::RackAdapter.load(app_path) opts = { reuse_addr: true, dont_linger: true } puts 'listening on port 1234' puts "pid: #{Process.pid}" Tipi.serve('0.0.0.0', 1234, opts, &app)
Version data entries
10 entries across 10 versions & 1 rubygems