Sha256: 3905b2ed603391d230be0e97c83fa413d50d9e3b9a5e004eaa1f12fe8be8e603
Contents?: true
Size: 336 Bytes
Versions: 45
Compression:
Stored size: 336 Bytes
Contents
# frozen_string_literal: true module Proscenium module Middleware # Serves static files from disk that end with .js or .css. class Static < Base def attempt benchmark :static do Rack::File.new(root, { 'X-Proscenium-Middleware' => 'static' }).call(@request.env) end end end end end
Version data entries
45 entries across 45 versions & 1 rubygems