mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
关闭rack-mini-profiler
This commit is contained in:
@@ -20,9 +20,9 @@ class ApplicationController < ActionController::Base
|
||||
# TODO
|
||||
# check sql query time
|
||||
before_action do
|
||||
if request.subdomain === 'testforgeplus' || request.subdomain === "profiler"
|
||||
Rack::MiniProfiler.authorize_request
|
||||
end
|
||||
# if request.subdomain === 'testforgeplus' || request.subdomain === "profiler"
|
||||
# Rack::MiniProfiler.authorize_request
|
||||
# end
|
||||
end
|
||||
|
||||
DCODES = %W(2 3 4 5 6 7 8 9 a b c f e f g h i j k l m n o p q r s t u v w x y z)
|
||||
|
||||
Reference in New Issue
Block a user