From 054191152675e510b56241c1c10237550c8c9323 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 13 Oct 2025 15:28:22 +0200 Subject: [PATCH] Add download route --- config/routes/rapsyspack.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/routes/rapsyspack.yaml b/config/routes/rapsyspack.yaml index f23660b..e471166 100644 --- a/config/routes/rapsyspack.yaml +++ b/config/routes/rapsyspack.yaml @@ -8,6 +8,11 @@ rapsyspack_css: path: '/bundles/rapsyspack/pack/css/{file<[a-zA-Z0-9]+>}.{!_format?css}' methods: GET +rapsyspack_download: + path: '/download/{hash<[a-zA-Z0-9=_-]+>}/{path<[a-zA-Z0-9=_-]+>}' + controller: Rapsys\PackBundle\Controller::download + methods: GET + rapsyspack_facebook: path: '/facebook/{hash<[a-zA-Z0-9=_-]+>}/{width<\d+>}/{height<\d+>}/{path<[a-zA-Z0-9=_-]+>}.{!_format<(jpeg|png|webp)>}' controller: Rapsys\PackBundle\Controller::facebook -- 2.41.3