discord_embed: Remove the missing image check, forgot it was there.
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed

This commit is contained in:
Jonatan Nilsson 2023-04-14 14:53:39 +00:00
parent 82b5e1bb5a
commit 9e642afef6
3 changed files with 2 additions and 6 deletions

View file

@ -60,10 +60,6 @@ Redirecting
if (!ctx.req.body.video.startsWith('http')) { if (!ctx.req.body.video.startsWith('http')) {
return 'Video link has to be a valid full url' 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) {
if (!ctx.req.body.image.startsWith('http')) { if (!ctx.req.body.image.startsWith('http')) {

View file

@ -1,6 +1,6 @@
{ {
"name": "discord_embed", "name": "discord_embed",
"version": "1.0.16", "version": "1.0.17",
"port": 4120, "port": 4120,
"description": "AV1 discord server embed helper", "description": "AV1 discord server embed helper",
"main": "index.js", "main": "index.js",

View file

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <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="/"> <base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
{{ if (imageLink) { }} {{ if (imageLink) { }}