discord_embed: Fix accidental breakage
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
This commit is contained in:
parent
17e266e89a
commit
3ac90b5eb6
3 changed files with 4 additions and 4 deletions
|
@ -37,8 +37,8 @@ export default class ServeHandler extends Parent {
|
|||
if (id) {
|
||||
let res = await ctx.db.safeCallProc('discord_embed.link_get', [id - 3843])
|
||||
if (res.first.length) {
|
||||
videoLink = encodeURIComponent(res.first[0].video_link)
|
||||
imageLink = encodeURIComponent(res.first[0].image_link)
|
||||
videoLink = res.first[0].video_link
|
||||
imageLink = res.first[0].image_link
|
||||
} else {
|
||||
ctx.status = 404
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "discord_embed",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"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.5</title>
|
||||
<title>Discord Embedder from AV1 server 1.0.6</title>
|
||||
<base href="/">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ if (imageLink) { }}
|
||||
|
|
Loading…
Reference in a new issue