Commit 4ab26f9
authored
Merge pull request #93 from jabbate19/consistent-thumbnail
Fix: Gallery Thumbnails Failing to Re-Assign
---
So when a file that was the thumbnail of a directory was deleted, the directory thumbnail didn't update and caused a 404 when Gallery reached out to S3/Local Storage to get it again. This makes it detect a non-ok status code and reset the thumbnail for that directory.
Fixes #65
Fixes #67
Fixes #801 file changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
772 | 773 | | |
773 | 774 | | |
774 | 775 | | |
775 | | - | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
776 | 782 | | |
777 | 783 | | |
778 | 784 | | |
| |||
791 | 797 | | |
792 | 798 | | |
793 | 799 | | |
794 | | - | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
795 | 811 | | |
796 | 812 | | |
797 | 813 | | |
| |||
0 commit comments