]> Raphaël G. Git Repositories - airlibre/commitdiff
Recipe symfony/routing update
authorRaphaël Gertz <git@rapsys.eu>
Wed, 2 Dec 2026 14:18:38 +0000 (15:18 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 2 Dec 2026 14:18:38 +0000 (15:18 +0100)
config/packages/routing.yaml

index 3bb9e61a2b4cd13584198f6ed0dd0f8c983d4091..419a3ea41fc8e7dbf3bdd3574c695ee5f35df7ec 100644 (file)
@@ -1,11 +1,6 @@
-framework:
-    router:
-        # Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
-        # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
-        default_uri: '%env(DEFAULT_URI)%'
-        utf8: true
-
-when@prod:
-    framework:
-        router:
-            strict_requirements: null
+# yaml-language-server: $schema=../schema.json
+router:
+    # Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
+    # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
+    default_uri: '%env(DEFAULT_URI)%'
+    utf8: true