Skip to content

Commit

Permalink
Add .jpg for open graph image to work in WhatsApp.
Browse files Browse the repository at this point in the history
  • Loading branch information
01100100 committed Jul 24, 2024
1 parent c840d70 commit 869938e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file added app/src/assets/logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
<meta property="og:image" content="<%= 'https://www.whereroulette.com/' + require('./assets/logo.png') %>" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<!-- Whatsapp only shows .jpg images -->
<meta property="og:image" content="<%= 'https://www.whereroulette.com/' + require('./assets/logo.jpg') %>" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="whereroulette.com">
Expand Down

0 comments on commit 869938e

Please sign in to comment.