Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
technicalpickles committed Feb 15, 2024
1 parent f114b35 commit b3e0b51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mini_profiler.rb
Expand Up @@ -295,6 +295,7 @@ def call(env)
# handle all /mini-profiler requests here
if path.start_with? @config.base_url_path
file_name = path.sub(@config.base_url_path, '')
end

if query_settings.manual_disable? || client_settings.disable_profiling?
skip_it = true
Expand Down

0 comments on commit b3e0b51

Please sign in to comment.