diff --git a/app/src/config.template.js b/app/src/config.template.js index ba19233f..fd329a09 100644 --- a/app/src/config.template.js +++ b/app/src/config.template.js @@ -240,6 +240,7 @@ module.exports = { title: 'Click the link to make a call.', description: 'MiroTalk SFU calling provides real-time video calls, messaging and screen sharing.', image: 'https://sfu.mirotalk.com/images/mirotalksfu.png', + url: 'https://sfu.mirotalk.com', }, html: { features: true, diff --git a/public/js/Brand.js b/public/js/Brand.js index b48ce33b..6d5eb21f 100644 --- a/public/js/Brand.js +++ b/public/js/Brand.js @@ -15,6 +15,7 @@ const ogSiteName = document.getElementById('ogSiteName'); const ogTitle = document.getElementById('ogTitle'); const ogDescription = document.getElementById('ogDescription'); const ogImage = document.getElementById('ogImage'); +const ogUrl = document.getElementById('ogUrl'); const appTitle = document.getElementById('appTitle'); const appDescription = document.getElementById('appDescription'); @@ -53,6 +54,7 @@ let BRAND = { title: 'Click the link to make a call.', description: 'MiroTalk SFU calling provides real-time video calls, messaging and screen sharing.', image: 'https://sfu.mirotalk.com/images/mirotalksfu.png', + url: 'https://sfu.mirotalk.com', }, html: { features: true, @@ -178,6 +180,9 @@ function customizeOpenGraph() { if (ogImage) { ogImage.content = BRAND.og.image; } + if (ogUrl) { + ogUrl.content = BRAND.og.url; + } } -initialize(); +await initialize(); diff --git a/public/views/404.html b/public/views/404.html index f1db00f1..3917646b 100755 --- a/public/views/404.html +++ b/public/views/404.html @@ -35,6 +35,7 @@ content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." /> + diff --git a/public/views/50X.html b/public/views/50X.html index a4a85069..127e7248 100755 --- a/public/views/50X.html +++ b/public/views/50X.html @@ -35,6 +35,7 @@ content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." /> + diff --git a/public/views/Room.html b/public/views/Room.html index 6be93c16..84954329 100644 --- a/public/views/Room.html +++ b/public/views/Room.html @@ -35,6 +35,7 @@ content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." /> + diff --git a/public/views/about.html b/public/views/about.html index 983fdc03..9c7137f5 100644 --- a/public/views/about.html +++ b/public/views/about.html @@ -35,6 +35,7 @@ content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." /> + diff --git a/public/views/landing.html b/public/views/landing.html index d252d6d7..b4fb37e6 100644 --- a/public/views/landing.html +++ b/public/views/landing.html @@ -35,6 +35,7 @@ content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." /> + diff --git a/public/views/login.html b/public/views/login.html index d2a98233..9aa8673e 100644 --- a/public/views/login.html +++ b/public/views/login.html @@ -35,6 +35,7 @@ content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." /> + diff --git a/public/views/newroom.html b/public/views/newroom.html index 7285d208..6679dbd5 100755 --- a/public/views/newroom.html +++ b/public/views/newroom.html @@ -35,6 +35,7 @@ content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." /> + diff --git a/public/views/permission.html b/public/views/permission.html index 2b1368a4..89b92a4a 100755 --- a/public/views/permission.html +++ b/public/views/permission.html @@ -35,6 +35,7 @@ content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." /> + diff --git a/public/views/privacy.html b/public/views/privacy.html index db7a49a8..cc98d84e 100755 --- a/public/views/privacy.html +++ b/public/views/privacy.html @@ -35,6 +35,7 @@ content="MiroTalk SFU calling provides real-time video calls, messaging and screen sharing." /> +