Skip to content

Commit

Permalink
Update OpenGraphImage.php
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk authored Jan 21, 2023
1 parent 9b25099 commit 9c6c802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenGraphImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class OpenGraphImage
{
public function url(...$parameters)
{
$parameters = collect($parameters);
$parameters = collect($parameters)
->merge(['.'.config('open-graph-image.image.extension')]) // add image extension to url for twitter compatibility
->all();

Expand Down

0 comments on commit 9c6c802

Please sign in to comment.