[mirotalksfu] - add missing og:url

هذا الالتزام موجود في:
Miroslav Pejic
2024-04-29 20:14:21 +02:00
الأصل 0b340e4d94
التزام a4cb8752e3
11 ملفات معدلة مع 16 إضافات و1 حذوفات

عرض الملف

@@ -240,6 +240,7 @@ module.exports = {
title: 'Click the link to make a call.', title: 'Click the link to make a call.',
description: 'MiroTalk SFU calling provides real-time video calls, messaging and screen sharing.', description: 'MiroTalk SFU calling provides real-time video calls, messaging and screen sharing.',
image: 'https://sfu.mirotalk.com/images/mirotalksfu.png', image: 'https://sfu.mirotalk.com/images/mirotalksfu.png',
url: 'https://sfu.mirotalk.com',
}, },
html: { html: {
features: true, features: true,

عرض الملف

@@ -15,6 +15,7 @@ const ogSiteName = document.getElementById('ogSiteName');
const ogTitle = document.getElementById('ogTitle'); const ogTitle = document.getElementById('ogTitle');
const ogDescription = document.getElementById('ogDescription'); const ogDescription = document.getElementById('ogDescription');
const ogImage = document.getElementById('ogImage'); const ogImage = document.getElementById('ogImage');
const ogUrl = document.getElementById('ogUrl');
const appTitle = document.getElementById('appTitle'); const appTitle = document.getElementById('appTitle');
const appDescription = document.getElementById('appDescription'); const appDescription = document.getElementById('appDescription');
@@ -53,6 +54,7 @@ let BRAND = {
title: 'Click the link to make a call.', title: 'Click the link to make a call.',
description: 'MiroTalk SFU calling provides real-time video calls, messaging and screen sharing.', description: 'MiroTalk SFU calling provides real-time video calls, messaging and screen sharing.',
image: 'https://sfu.mirotalk.com/images/mirotalksfu.png', image: 'https://sfu.mirotalk.com/images/mirotalksfu.png',
url: 'https://sfu.mirotalk.com',
}, },
html: { html: {
features: true, features: true,
@@ -178,6 +180,9 @@ function customizeOpenGraph() {
if (ogImage) { if (ogImage) {
ogImage.content = BRAND.og.image; ogImage.content = BRAND.og.image;
} }
if (ogUrl) {
ogUrl.content = BRAND.og.url;
}
} }
initialize(); await initialize();

عرض الملف

@@ -35,6 +35,7 @@
content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing."
/> />
<meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" /> <meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" />
<meta id="ogUrl" property="og:url" content="https://sfu.mirotalk.com" />
<!-- StyleSheet --> <!-- StyleSheet -->

عرض الملف

@@ -35,6 +35,7 @@
content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing."
/> />
<meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" /> <meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" />
<meta id="ogUrl" property="og:url" content="https://sfu.mirotalk.com" />
<!-- StyleSheet --> <!-- StyleSheet -->

عرض الملف

@@ -35,6 +35,7 @@
content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing."
/> />
<meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" /> <meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" />
<meta id="ogUrl" property="og:url" content="https://sfu.mirotalk.com" />
<!-- StyleSheet --> <!-- StyleSheet -->
<link rel="stylesheet" href="../css/Room.css" /> <link rel="stylesheet" href="../css/Room.css" />

عرض الملف

@@ -35,6 +35,7 @@
content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing."
/> />
<meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" /> <meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" />
<meta id="ogUrl" property="og:url" content="https://sfu.mirotalk.com" />
<!-- StyleSheet --> <!-- StyleSheet -->

عرض الملف

@@ -35,6 +35,7 @@
content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing."
/> />
<meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" /> <meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" />
<meta id="ogUrl" property="og:url" content="https://sfu.mirotalk.com" />
<!-- StyleSheet --> <!-- StyleSheet -->

عرض الملف

@@ -35,6 +35,7 @@
content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing."
/> />
<meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" /> <meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" />
<meta id="ogUrl" property="og:url" content="https://sfu.mirotalk.com" />
<!-- StyleSheet --> <!-- StyleSheet -->

عرض الملف

@@ -35,6 +35,7 @@
content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing."
/> />
<meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" /> <meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" />
<meta id="ogUrl" property="og:url" content="https://sfu.mirotalk.com" />
<!-- StyleSheet --> <!-- StyleSheet -->

عرض الملف

@@ -35,6 +35,7 @@
content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing."
/> />
<meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" /> <meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" />
<meta id="ogUrl" property="og:url" content="https://sfu.mirotalk.com" />
<!-- StyleSheet --> <!-- StyleSheet -->

عرض الملف

@@ -35,6 +35,7 @@
content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing."
/> />
<meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" /> <meta id="ogImage" property="og:image" content="https://sfu.mirotalk.com/images/mirotalksfu.png" />
<meta id="ogUrl" property="og:url" content="https://sfu.mirotalk.com" />
<!-- StyleSheet --> <!-- StyleSheet -->