diff --git a/server/model/status_page.js b/server/model/status_page.js index 4413e6650..5bb823339 100644 --- a/server/model/status_page.js +++ b/server/model/status_page.js @@ -36,7 +36,7 @@ class StatusPage extends BeanModel { */ static async renderHTML(indexHTML, statusPage) { const $ = cheerio.load(indexHTML); - const description155 = statusPage.description.substring(0, 155); + const description155 = statusPage.description?.substring(0, 155); $("title").text(statusPage.title); $("meta[name=description]").attr("content", description155);