Sha256: fe830d667399ff836c601e9da5a76004528c507c41e90aaf6a80b3f0ef9e04df
Contents?: true
Size: 514 Bytes
Versions: 1
Compression:
Stored size: 514 Bytes
Contents
# frozen_string_literal: true # Released under the MIT License. # Copyright, 2024, by Samuel Williams. require 'rack/builder' require_relative '../server' module Falcon module Environment # Provides an environment for hosting loading a Rackup `config.ru` file. module Rackup def rackup_path 'config.ru' end def rack_app ::Rack::Builder.parse_file(rackup_path) end def middleware ::Falcon::Server.middleware(rack_app, verbose: verbose, cache: cache) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
falcon-0.44.0 | lib/falcon/environment/rackup.rb |