mirror of
https://github.com/diced/zipline.git
synced 2025-04-11 23:31:17 -05:00
fix??: I unno, discord hasn't embedded without the link showing but maybe other places could
This commit is contained in:
parent
b83ca16053
commit
66da8b8f52
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ async function handler(req: NextApiReq, res: NextApiRes) {
|
|||
version: '1.0',
|
||||
url: `${host}/r/${file.name}`,
|
||||
thumbnail_url: file.thumbnail ? `${host}/r/${file.thumbnail?.name}` : undefined,
|
||||
html: `<video src="${host}/r/${file.name}"/>`,
|
||||
html: `<video><source src="${host}/r/${file.name}" type="${file.mimetype}"/></video>`,
|
||||
});
|
||||
return res.json({
|
||||
type: 'link',
|
||||
|
|
Loading…
Add table
Reference in a new issue