From f3f2dfd381fb63d54e84aaea6ce1dcc274ac2d31 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Thu, 24 Mar 2022 01:11:02 +0200 Subject: [PATCH] =?UTF-8?q?=C3=B6lskahjg=C3=B6lkjh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/client/endpoints/Home.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/src/client/endpoints/Home.js b/server/src/client/endpoints/Home.js index 738ad7a..6602e11 100644 --- a/server/src/client/endpoints/Home.js +++ b/server/src/client/endpoints/Home.js @@ -48,12 +48,12 @@ class Home extends Endpoint { const clipUrl = `${baseUrl}/clips/${clip.filename}`; console.log(this.index); - const html = this.index. + const html = this.index // replace(`Corgi Corner`, clip.name). - replace(/{{META_author}}/ug, clip.uploader.tag). - replace(/{{META_url}}/ug, clientUrl). - replace(/{{META_thumbnail}}/ug, thumbnailUrl). - replace(/{{META_srcUrl}}/ug, clipUrl); + .replace(/\{\{META_author\}\}/ug, clip.uploader.tag) + .replace(/\{\{META_url\}\}/ug, clientUrl) + .replace(/\{\{META_thumbnail\}\}/ug, thumbnailUrl) + .replace(/\{\{META_srcUrl\}\}/ug, clipUrl); console.log(html); return res.send(html); }