diff --git a/Server/src/routes/api/share.js b/Server/src/routes/api/share.js index 8cf411b..38cd66c 100644 --- a/Server/src/routes/api/share.js +++ b/Server/src/routes/api/share.js @@ -68,7 +68,7 @@ function getSermon(req, res, id){ function getOtherMeta(req, res, title, description, imageUrl, imageWidth, imageHeight) { imageWidth = imageWidth || 200; imageHeight = imageHeight || 200; - const url = req.protocol + '://' + reqhostname + req.originalUrl; + const url = req.protocol + '://' + req.hostname + req.originalUrl; var result = ` Old Fashion Baptist Church