Sha256: e1a81667a3496a9680b804a890706a862c46ae2556e8f47ab8cfd2a39e75b013
Contents?: true
Size: 466 Bytes
Versions: 45
Compression:
Stored size: 466 Bytes
Contents
# frozen_string_literal: true module Proscenium class Middleware class Runtime < Esbuild private def renderable? old_root = root old_path_info = @request.path_info @root = Pathname.new(__dir__).join('../') @request.path_info = @request.path_info.sub(%r{^/proscenium-runtime/}, 'runtime/') super ensure @request.path_info = old_path_info @root = old_root end end end end
Version data entries
45 entries across 45 versions & 1 rubygems