Sha256: 2a3cd9da989a2048204a18eb339426c7bf5055ea4ad4e564072ac564aa3862f3
Contents?: true
Size: 307 Bytes
Versions: 2
Compression:
Stored size: 307 Bytes
Contents
require 'rack' use Rack::Static, :urls => %w(/bootstrap /css /js /data.json), :root => 'public' run lambda { |env| [ 200, { 'Content-Type' => 'text/html', 'Cache-Control' => 'public, max-age=86400' }, File.open('public/index.html', File::RDONLY) ] }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
help_desk_dashboard-0.0.2 | lib/help-desk-dashboard/web/config.ru |
help_desk_dashboard-0.0.1 | lib/help-desk-dashboard/web/config.ru |