Merge pull request #1456 from symfony/routing-sync

[routing] sync DEFAULT_URI from 7.0
This commit is contained in:
Fabien Potencier
2025-10-01 07:10:05 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
@@ -2,7 +2,7 @@ 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: http://localhost
default_uri: '%env(DEFAULT_URI)%'
when@prod:
framework:
+5
View File
@@ -5,5 +5,10 @@
"aliases": ["router"],
"conflict": {
"symfony/framework-bundle": "<7.0"
},
"env": {
"#1": "Configure how to generate URLs in non-HTTP contexts, such as CLI commands.",
"#2": "See https://symfony.com/doc/current/routing.html#generating-urls-in-commands",
"DEFAULT_URI": "http://localhost"
}
}