ölskahjgölkjh

This commit is contained in:
Erik 2022-03-24 01:11:02 +02:00
parent 56918b9358
commit f3f2dfd381
No known key found for this signature in database
GPG Key ID: FEFF4B220DDF5589

View File

@ -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(`<title>Corgi Corner</title>`, 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);
}