# typed: strict
if Rails.env.development? || Rails.env.staging?
  # Rack::MiniProfiler.config.pre_authorize_cb = lambda { |env| true }
  Rack::MiniProfiler.config.authorization_mode = :allow_all
  Rack::MiniProfiler.config.enable_advanced_debugging_tools = true
  Rack::MiniProfiler.config.position = "top-right"
  Rack::MiniProfiler.config.disable_caching = false
  Rack::MiniProfiler.config.skip_paths = [%r{/blobs/.+/contents.jpg$}]
end
