chore: mini profiler ignore vite routes

This commit is contained in:
simon lehericey 2022-10-03 12:47:41 +02:00 committed by LeSim
parent b966dd3b54
commit 1cd0d45ece

View file

@ -1,3 +1,4 @@
if Rails.env.development? if Rails.env.development?
Rack::MiniProfiler.config.show_total_sql_count = true Rack::MiniProfiler.config.show_total_sql_count = true
Rack::MiniProfiler.config.skip_paths = [/vite-dev.*/]
end end