Skip to content

Commit

Permalink
Return absolute URL for images
Browse files Browse the repository at this point in the history
  • Loading branch information
martink635 committed May 17, 2023
1 parent 9e7f4e4 commit 0d84761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FieldTypes/SeotamicSocial.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,6 @@ protected function getImage($compress = false): string
return url(Image::manipulate($asset, ['w' => 1200, 'h' => 630, 'q' => '70', 'fit' => 'crop']));
}

return $asset->url();
return $asset->absoluteUrl();
}
}

0 comments on commit 0d84761

Please sign in to comment.