mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-25 15:06:26 -08:00
OG metatag fix
This commit is contained in:
parent
23744f1fc2
commit
dfc08f43b7
|
@ -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" 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: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: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">`
|
||||||
: ""
|
: ""
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue