We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c4eb76 + 45c73f1 commit c0e3318Copy full SHA for c0e3318
symfony/routing/7.4/config/packages/routing.yaml
@@ -2,7 +2,7 @@ framework:
2
router:
3
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
4
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
5
- #default_uri: http://localhost
+ default_uri: '%env(DEFAULT_URI)%'
6
7
when@prod:
8
framework:
symfony/routing/7.4/manifest.json
@@ -5,5 +5,10 @@
"aliases": ["router"],
"conflict": {
"symfony/framework-bundle": "<7.0"
+ },
9
+ "env": {
10
+ "#1": "Configure how to generate URLs in non-HTTP contexts, such as CLI commands.",
11
+ "#2": "See https://symfony.com/doc/current/routing.html#generating-urls-in-commands",
12
+ "DEFAULT_URI": "http://localhost"
13
}
14
0 commit comments