discord_embed: Remove the missing image check, forgot it was there.
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
This commit is contained in:
parent
82b5e1bb5a
commit
9e642afef6
3 changed files with 2 additions and 6 deletions
|
@ -60,10 +60,6 @@ Redirecting
|
|||
if (!ctx.req.body.video.startsWith('http')) {
|
||||
return 'Video link has to be a valid full url'
|
||||
}
|
||||
|
||||
if (!ctx.req.body.image && !hasMedia) {
|
||||
return 'Missing image link or file'
|
||||
}
|
||||
|
||||
if (ctx.req.body.image) {
|
||||
if (!ctx.req.body.image.startsWith('http')) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "discord_embed",
|
||||
"version": "1.0.16",
|
||||
"version": "1.0.17",
|
||||
"port": 4120,
|
||||
"description": "AV1 discord server embed helper",
|
||||
"main": "index.js",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Discord Embedder from AV1 server 1.0.16</title>
|
||||
<title>Discord Embedder from AV1 server 1.0.17</title>
|
||||
<base href="/">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ if (imageLink) { }}
|
||||
|
|
Loading…
Reference in a new issue