timings is a POST
This commit is contained in:
parent
2599b94920
commit
0c11b4c707
|
@ -39,7 +39,7 @@ if defined?(Rack::MiniProfiler)
|
||||||
path = env['PATH_INFO']
|
path = env['PATH_INFO']
|
||||||
|
|
||||||
(env['HTTP_USER_AGENT'] !~ /iPad|iPhone|Nexus 7|Android/) &&
|
(env['HTTP_USER_AGENT'] !~ /iPad|iPhone|Nexus 7|Android/) &&
|
||||||
(env['REQUEST_METHOD'] != "GET" || !skip.any?{|re| re =~ path})
|
!skip.any?{|re| re =~ path}
|
||||||
end
|
end
|
||||||
|
|
||||||
# without a user provider our results will use the ip address for namespacing
|
# without a user provider our results will use the ip address for namespacing
|
||||||
|
|
Loading…
Reference in New Issue