fix
This commit is contained in:
parent
6877c25562
commit
a82abe64f6
@ -76,7 +76,7 @@ router.post('/comment', (req, res) => {
|
|||||||
router.get('/update_log/rss', async (_req, res) => {
|
router.get('/update_log/rss', async (_req, res) => {
|
||||||
const csvData = await readCsv(thisDirectory + '/public/dynamic/sync/updates.csv')
|
const csvData = await readCsv(thisDirectory + '/public/dynamic/sync/updates.csv')
|
||||||
const rss = makeRss('https://lyricaltokarev.com/update_log/rss', "Update Log")
|
const rss = makeRss('https://lyricaltokarev.com/update_log/rss', "Update Log")
|
||||||
csvData.reverse().forEach((u, i) => {
|
csvData.forEach((u, i) => {
|
||||||
rss.item({
|
rss.item({
|
||||||
title: "Update #" + i,
|
title: "Update #" + i,
|
||||||
description: `${u.link && `<a href="${u.link}">`}${u.description}${u.link && `</a>`}`,
|
description: `${u.link && `<a href="${u.link}">`}${u.description}${u.link && `</a>`}`,
|
||||||
|
Loading…
Reference in New Issue
Block a user