From ba76b8fb4060fa8675d80e6b553e8a748ebccee4 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Fri, 23 Dec 2022 16:54:38 +0100 Subject: [PATCH] Full URL for metadata (#1653) --- app/Http/Controllers/IndexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/IndexController.php b/app/Http/Controllers/IndexController.php index 749817115d0..242dbbb4231 100644 --- a/app/Http/Controllers/IndexController.php +++ b/app/Http/Controllers/IndexController.php @@ -154,7 +154,7 @@ public function view(GetPhotoViewRequest $request): View return $this->frontend( $photo->title, $photo->description, - $photo->size_variants->getMedium()?->url ?? $photo->size_variants->getOriginal()->url + url()->to($photo->size_variants->getMedium()?->url ?? $photo->size_variants->getOriginal()->url) ); }