This commit is contained in:
Erik 2022-03-23 22:30:35 +02:00
parent 8bb49a0fac
commit 889121e924
No known key found for this signature in database
GPG Key ID: FEFF4B220DDF5589

View File

@ -48,6 +48,7 @@ class Home extends Endpoint {
const clipUrl = `${baseUrl}/clips/${clip.filename}`; const clipUrl = `${baseUrl}/clips/${clip.filename}`;
const html = this.index. const html = this.index.
replace(`<title>Corgi Corner</title>`, clip.name).
replace(`{{author}}`, clip.uploader.tag). replace(`{{author}}`, clip.uploader.tag).
replace(`{{url}}`, clientUrl). replace(`{{url}}`, clientUrl).
replace(`{{thumbnail}}`, thumbnailUrl). replace(`{{thumbnail}}`, thumbnailUrl).