OG metatag fix

This commit is contained in:
split / May 2023-05-08 16:04:22 -07:00
parent 23744f1fc2
commit dfc08f43b7

View file

@ -152,7 +152,7 @@ app.get("/download/:fileId",(req,res) => {
? `<meta name="og:video" content="https://${req.headers.host}/file/${req.params.fileId}" />
<meta name="og:video:url" content="https://${req.headers.host}/file/${req.params.fileId}" />
<meta name="og:video:secure_url" content="https://${req.headers.host}/file/${req.params.fileId}">
<meta name="og:video:type" content="${file.mime.replace(/\"/g,"")}">`
<meta name="og:video:type" content="video.other">`
: ""
)
)