This commit is contained in:
Erik 2022-03-24 01:41:11 +02:00
parent 4eb61f6f8c
commit 575280ec87
No known key found for this signature in database
GPG Key ID: FEFF4B220DDF5589

View File

@ -44,8 +44,8 @@ class Home extends Endpoint {
const clip = this.client.clipIndex.getByTitle(title); const clip = this.client.clipIndex.getByTitle(title);
const baseUrl = `https://${this.client.domain}`; const baseUrl = `https://${this.client.domain}`;
const clientUrl = `${baseUrl}${path}`; const clientUrl = `${baseUrl}${path}`;
const thumbnailUrl = `${baseUrl}/thumbnails/${clip.thumbnail}`; const thumbnailUrl = `${baseUrl}/api/thumbnails/${clip.thumbnail}`;
const clipUrl = `${baseUrl}/clips/${clip.filename}`; const clipUrl = `${baseUrl}/api/clips/${clip.filename}`;
console.log(this.index); console.log(this.index);
const html = this.index const html = this.index