Fix req.hostname
parent
3970ccd93f
commit
c834ff4a75
|
|
@ -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 = `<html>
|
||||
<head>
|
||||
<title>Old Fashion Baptist Church</title>
|
||||
|
|
|
|||
Loading…
Reference in New Issue