From 575280ec87765b282671e6a52490a1afeeb566bd Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Thu, 24 Mar 2022 01:41:11 +0200 Subject: [PATCH] BANGER --- server/src/client/endpoints/Home.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/client/endpoints/Home.js b/server/src/client/endpoints/Home.js index 9447480..c04a614 100644 --- a/server/src/client/endpoints/Home.js +++ b/server/src/client/endpoints/Home.js @@ -44,8 +44,8 @@ class Home extends Endpoint { const clip = this.client.clipIndex.getByTitle(title); const baseUrl = `https://${this.client.domain}`; const clientUrl = `${baseUrl}${path}`; - const thumbnailUrl = `${baseUrl}/thumbnails/${clip.thumbnail}`; - const clipUrl = `${baseUrl}/clips/${clip.filename}`; + const thumbnailUrl = `${baseUrl}/api/thumbnails/${clip.thumbnail}`; + const clipUrl = `${baseUrl}/api/clips/${clip.filename}`; console.log(this.index); const html = this.index