This commit is contained in:
Wisp X
2022-03-22 14:17:21 +08:00
parent 10921b34fc
commit 769eb4bbd5
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ class Image extends Model
public function getThumbnailPathname(): string
{
return trim(env('THUMBNAIL_PATH', 'thumbnails'), '/')."/{$this->md5}.png";
return trim(config('app.thumbnail_path'), '/')."/{$this->md5}.png";
}
private function generateKey($length = 6): string