Skip to content

Commit

Permalink
fix: specifying social card image height
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Aug 26, 2024
1 parent 87295ca commit 8c39777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/molecule.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta property="og:type" content="website">
<meta property="og:url" content="{{ url()->current() }}">
<meta property="og:image"
content="{{ env('CM_API') . 'depict/2D?smiles=' . urlencode($molecule->canonical_smiles) . '&height=200&width=200&toolkit=cdk' ?? asset('img/coconut-og-image.png') }}">
content="{{ env('CM_API') . 'depict/2D?smiles=' . urlencode($molecule->canonical_smiles) . '&height=630&width=1200&toolkit=cdk' ?? asset('img/coconut-og-image.png') }}">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:site_name" content="{{ config('app.name', 'COCONUT') }}">
Expand Down

0 comments on commit 8c39777

Please sign in to comment.