wanna see where doing this will take me

This commit is contained in:
May 2023-08-02 00:08:53 +00:00
parent 28ca9b2224
commit 006177db46

View file

@ -158,9 +158,9 @@ app.get("/download/:fileId",(req,res) => {
? `<meta property="og:video:url" content="https://${req.headers.host}/cpt/${req.params.fileId}/video.${file.mime.split("/")[1] == "quicktime" ? "mov" : file.mime.split("/")[1]}" /> ? `<meta property="og:video:url" content="https://${req.headers.host}/cpt/${req.params.fileId}/video.${file.mime.split("/")[1] == "quicktime" ? "mov" : file.mime.split("/")[1]}" />
<meta property="og:video:secure_url" content="https://${req.headers.host}/cpt/${req.params.fileId}/video.${file.mime.split("/")[1] == "quicktime" ? "mov" : file.mime.split("/")[1]}" /> <meta property="og:video:secure_url" content="https://${req.headers.host}/cpt/${req.params.fileId}/video.${file.mime.split("/")[1] == "quicktime" ? "mov" : file.mime.split("/")[1]}" />
<meta property="og:type" content="video.other"> <meta property="og:type" content="video.other">
<!-- honestly probably good enough for now --> <!-- honestly probably good enough for now
<meta property="og:video:width" content="1280"> <meta property="og:video:width" content="1280">
<meta property="og:video:height" content="720"> <meta property="og:video:height" content="720"> -->
<meta property="twitter:image" content="0">` <meta property="twitter:image" content="0">`
: "" : ""
) )