From 71186e3bdeedde20a7e8117ef342b53596dd0b3a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 3 Oct 2022 04:36:08 +0200 Subject: [PATCH 1/1] Add rapsys_pack_facebook for static facebook files --- Resources/config/routes/rapsys_pack.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Resources/config/routes/rapsys_pack.yaml b/Resources/config/routes/rapsys_pack.yaml index 38c9620..c9ad80a 100644 --- a/Resources/config/routes/rapsys_pack.yaml +++ b/Resources/config/routes/rapsys_pack.yaml @@ -4,9 +4,8 @@ rapsys_pack_captcha: controller: Rapsys\PackBundle\Controller\ImageController::captcha methods: GET -rapsys_pack_thumb: - path: '/thumb/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{path<[a-zA-Z0-9=_-]+>}/{width<\d+>?640}/{height<\d+>?640}.{_format?jpeg}' - controller: Rapsys\PackBundle\Controller\ImageController::thumb +rapsys_pack_facebook: + path: '/bundles/rapsyspack/facebook/{mtime<\d+>}{path}.{!_format?jpeg}' methods: GET rapsys_pack_map: @@ -18,3 +17,8 @@ rapsys_pack_multimap: path: '/multimap/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{latitude<\d+(\.?\d+)?>}/{longitude<\d+(\.?\d+)?>}/{coordinates<\d+(\.\d+)?,\d+(\.\d+)?(-\d+(\.\d+)?,\d+(\.\d+)?)*>}/{zoom<\d+>?15}/{width<\d+>?640}/{height<\d+>?640}.{_format?jpeg}' controller: Rapsys\PackBundle\Controller\MapController::multimap methods: GET + +rapsys_pack_thumb: + path: '/thumb/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{path<[a-zA-Z0-9=_-]+>}/{width<\d+>?640}/{height<\d+>?640}.{_format?jpeg}' + controller: Rapsys\PackBundle\Controller\ImageController::thumb + methods: GET -- 2.41.1