From: Raphaƫl Gertz Date: Mon, 13 Oct 2025 13:28:22 +0000 (+0200) Subject: Add download route X-Git-Tag: 0.5.5~4 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/054191152675e510b56241c1c10237550c8c9323?ds=inline Add download route --- 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