File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 11# Release Notes for Blitz CloudFront Purger
22
3+ ## 5.1.4 - 2025-03-19
4+
5+ ### Fixed
6+
7+ - Fixed a bug in which the base site URL was not being purged ([ #15 ] ( https://github.com/putyourlightson/craft-blitz-cloudfront/issues/15 ) ).
8+
39## 5.1.3 - 2025-03-12
410
511### Fixed
Original file line number Diff line number Diff line change 11{
22 "name" : " putyourlightson/craft-blitz-cloudfront" ,
33 "description" : " CloudFront cache purger for the Blitz plugin." ,
4- "version" : " 5.1.3 " ,
4+ "version" : " 5.1.4 " ,
55 "type" : " craft-plugin" ,
66 "homepage" : " https://putyourlightson.com/plugins/blitz" ,
77 "license" : " proprietary" ,
Original file line number Diff line number Diff line change @@ -264,6 +264,11 @@ private function getPathFromUrl(string $url): string
264264 $ path = $ path . '/ ' ;
265265 }
266266
267+ // Set to a trailing slash if the path is empty.
268+ if ($ path === '' ) {
269+ $ path = '/ ' ;
270+ }
271+
267272 return $ path ;
268273 }
269274
You can’t perform that action at this time.
0 commit comments