diff --git a/server/model/status_page.js b/server/model/status_page.js index 224441127..9842f0019 100644 --- a/server/model/status_page.js +++ b/server/model/status_page.js @@ -132,6 +132,14 @@ class StatusPage extends BeanModel { let ogDescription = $("").attr("content", description155); head.append(ogDescription); + let ogType = $(""); + head.append(ogType); + + if (statusPage.icon) { + let ogImage = $("").attr("content", statusPage.icon); + head.append(ogImage); + } + // Preload data // Add jsesc, fix https://github.com/louislam/uptime-kuma/issues/2186 const escapedJSONObject = jsesc(await StatusPage.getStatusPageData(statusPage), {