add endpoint for oembed; restyle gifv; skeleton for websocket
This commit is contained in:
parent
ec3597e474
commit
e799724b3b
9 changed files with 312 additions and 209 deletions
|
@ -69,6 +69,8 @@ export const createEmbedData: Middleware = async (req, res, next) => {
|
|||
html: `<iframe src='${req.protocol}://${req.get(
|
||||
"host",
|
||||
)}/gifv/${filename}${fileExtension}'></iframe>`,
|
||||
title: filename,
|
||||
url: `${req.protocol}://${req.get("host")}/uploads/${filename}${fileExtension}`,
|
||||
};
|
||||
|
||||
if (isMedia) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue