mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/routing": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/routing.yaml": {
|
||||
"contents": [
|
||||
"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)%'",
|
||||
"",
|
||||
"when@prod:",
|
||||
" framework:",
|
||||
" router:",
|
||||
" strict_requirements: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"# yaml-language-server: $schema=../vendor/symfony/routing/Loader/schema/routing.schema.json",
|
||||
"",
|
||||
"# This file is the entry point to configure the routes of your app.",
|
||||
"# Methods with the #[Route] attribute are automatically imported.",
|
||||
"# See also https://symfony.com/doc/current/routing.html",
|
||||
"",
|
||||
"# To list all registered routes, run the following command:",
|
||||
"# bin/console debug:router",
|
||||
"",
|
||||
"controllers:",
|
||||
" resource: routing.controllers",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "bc94c4fd86f393f3ab3947c18b830ea343e51ded"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -41,12 +41,15 @@
|
||||
"",
|
||||
"# To list all registered routes, run the following command:",
|
||||
"# bin/console debug:router",
|
||||
"",
|
||||
"controllers:",
|
||||
" resource: routing.controllers",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "11b4a52c3e254026523a4a3c46f2230183deab38"
|
||||
"ref": "bc94c4fd86f393f3ab3947c18b830ea343e51ded"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user