From bc7807e51e29fddd0cf2dbda8afbe5372d7db1ae Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Mon, 22 Sep 2025 05:34:48 +0000 Subject: [PATCH] Update Flex endpoint --- ...e60e2afd5c6f4a6795908f646e235f2564eb2.json | 49 +++++++++++++++++++ symfony.routing.7.0.json | 9 +++- 2 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 archived/symfony.routing/ab1e60e2afd5c6f4a6795908f646e235f2564eb2.json diff --git a/archived/symfony.routing/ab1e60e2afd5c6f4a6795908f646e235f2564eb2.json b/archived/symfony.routing/ab1e60e2afd5c6f4a6795908f646e235f2564eb2.json new file mode 100644 index 00000000..29415d0a --- /dev/null +++ b/archived/symfony.routing/ab1e60e2afd5c6f4a6795908f646e235f2564eb2.json @@ -0,0 +1,49 @@ +{ + "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": [ + "controllers:", + " resource:", + " path: ../src/Controller/", + " namespace: App\\Controller", + " type: attribute", + "" + ], + "executable": false + } + }, + "ref": "ab1e60e2afd5c6f4a6795908f646e235f2564eb2" + } + } +} diff --git a/symfony.routing.7.0.json b/symfony.routing.7.0.json index 4c535989..29415d0a 100644 --- a/symfony.routing.7.0.json +++ b/symfony.routing.7.0.json @@ -7,6 +7,11 @@ }, "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": { @@ -16,7 +21,7 @@ " 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:", @@ -38,7 +43,7 @@ "executable": false } }, - "ref": "21b72649d5622d8f7da329ffb5afb232a023619d" + "ref": "ab1e60e2afd5c6f4a6795908f646e235f2564eb2" } } }