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
|
@ -61,10 +61,6 @@ Redirecting
|
|||
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')) {
|
||||
return 'Image link has to be a valid full url'
|
||||
|
|
|
@ -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