mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Merge pull request #1456 from symfony/routing-sync
[routing] sync DEFAULT_URI from 7.0
This commit is contained in:
@@ -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,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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user