From b168a781c66e799555d2b3b8b148102765d96135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nu=C5=A1a=20Puk=C5=A1i=C4=8D?= Date: Thu, 9 Oct 2025 20:00:29 +0200 Subject: [PATCH] Reconfigure profiler --- config/bundles.php | 2 +- config/routes/web_profiler.yaml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/bundles.php b/config/bundles.php index c7d17d5..52b5f5f 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -11,7 +11,7 @@ return [ Symfony\UX\TwigComponent\TwigComponentBundle::class => ['all' => true], Symfony\UX\LiveComponent\LiveComponentBundle::class => ['all' => true], Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true], - Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['local' => true], + Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['local' => true, 'dev' => true], Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], Symfony\UX\Icons\UXIconsBundle::class => ['all' => true], FOS\ElasticaBundle\FOSElasticaBundle::class => ['all' => true], diff --git a/config/routes/web_profiler.yaml b/config/routes/web_profiler.yaml index 82fe7ea..2f86a38 100644 --- a/config/routes/web_profiler.yaml +++ b/config/routes/web_profiler.yaml @@ -1,8 +1,8 @@ -when@local: - web_profiler_wdt: - resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml' - prefix: /_wdt - web_profiler_profiler: - resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml' - prefix: /_profiler +web_profiler_wdt: + resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml' + prefix: /_wdt + +web_profiler_profiler: + resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml' + prefix: /_profiler