mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
timings is a POST
This commit is contained in:
parent
2599b94920
commit
0c11b4c707
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ if defined?(Rack::MiniProfiler)
|
|||
path = env['PATH_INFO']
|
||||
|
||||
(env['HTTP_USER_AGENT'] !~ /iPad|iPhone|Nexus 7|Android/) &&
|
||||
(env['REQUEST_METHOD'] != "GET" || !skip.any?{|re| re =~ path})
|
||||
!skip.any?{|re| re =~ path}
|
||||
end
|
||||
|
||||
# without a user provider our results will use the ip address for namespacing
|
||||
|
|
Loading…
Reference in a new issue