]> Raphaël G. Git Repositories - packbundle/commitdiff
Add rapsys_pack_facebook for static facebook files
authorRaphaël Gertz <git@rapsys.eu>
Mon, 3 Oct 2022 02:36:08 +0000 (04:36 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 3 Oct 2022 02:36:08 +0000 (04:36 +0200)
Resources/config/routes/rapsys_pack.yaml

index 38c9620b57cfbf5412b955ee9aa2e50835046cbb..c9ad80af9b8a7b29e9b43513f50533b1cbffaaa1 100644 (file)
@@ -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