Video embeds
This commit is contained in:
parent
0dad8d6568
commit
1c2fcb49fc
2 changed files with 12 additions and 2 deletions
10
index.js
10
index.js
|
@ -160,4 +160,12 @@ app.get("/*", (req, res) => {
|
||||||
res.write(baseEnd)
|
res.write(baseEnd)
|
||||||
|
|
||||||
res.end()
|
res.end()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
process.on('uncaughtException', (err, origin) => {
|
||||||
|
fs.writeSync(
|
||||||
|
process.stderr.fd,
|
||||||
|
`Caught exception: ${err}\n` +
|
||||||
|
`Exception origin: ${origin}`,
|
||||||
|
);
|
||||||
|
});
|
|
@ -10,7 +10,9 @@
|
||||||
|
|
||||||
<meta content="{TITLE} - Violet's Clipdump" property="og:title" />
|
<meta content="{TITLE} - Violet's Clipdump" property="og:title" />
|
||||||
<meta content="{VID_INFO}" />
|
<meta content="{VID_INFO}" />
|
||||||
<meta content="https://fs.violets-purgatory.dev/video/{VID_PATH}" property="og:video" />
|
<meta content="https://fs.violets-purgatory.dev/{VID_PATH}" property="og:video" />
|
||||||
|
<meta property="og:video:width" content="640" />
|
||||||
|
<meta property="og:video:height" content="426" />
|
||||||
<meta content="#a200ff" data-react-helmet="true" name="theme-color" />
|
<meta content="#a200ff" data-react-helmet="true" name="theme-color" />
|
||||||
|
|
||||||
<title>{TITLE}</title>
|
<title>{TITLE}</title>
|
||||||
|
|
Loading…
Reference in a new issue