From c2f8faaeeeb961f49e29688248c17ec1f04a40ac Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 30 Apr 2021 00:10:50 -0600 Subject: [PATCH 1/2] Update StoryController, fix cache crop bug --- app/Http/Controllers/StoryController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/StoryController.php b/app/Http/Controllers/StoryController.php index 36847af16..5f77d5d43 100644 --- a/app/Http/Controllers/StoryController.php +++ b/app/Http/Controllers/StoryController.php @@ -71,7 +71,7 @@ class StoryController extends Controller 'code' => 200, 'msg' => 'Successfully added', 'media_id' => (string) $story->id, - 'media_url' => url(Storage::url($url)), + 'media_url' => url(Storage::url($url)) . '?v=' . time(), 'media_type' => $story->type ]; } From ca00f2bb97a47da68e2c1608edc5ca479c72d104 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 30 Apr 2021 00:11:54 -0600 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eb82c488..9a1f75eca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,6 +72,7 @@ - Updated instance endpoint, add custom description. ([668e936e](https://github.com/pixelfed/pixelfed/commit/668e936e)) - Updated StoryCompose component, improve full screen preview. ([39a76103](https://github.com/pixelfed/pixelfed/commit/39a76103)) - Updated Helpers, fix broken tests. ([22dddaa0](https://github.com/pixelfed/pixelfed/commit/22dddaa0)) +- Updated StoryController, fix cache crop bug. ([c2f8faae](https://github.com/pixelfed/pixelfed/commit/c2f8faae)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.10.10 (2021-01-28)](https://github.com/pixelfed/pixelfed/compare/v0.10.9...v0.10.10)