extension issue fix

This commit is contained in:
sairaj mote 2022-01-20 16:33:18 +05:30
parent b7a1188276
commit 4b4486881c

View File

@ -10371,7 +10371,7 @@
</div>
<p>${sections[0].paragraph}</p>
<div class="flex align-center space-between">
<a href="./${articleKey}.html" onclick='goto(${i})'>Read article
<a href="./${articleKey}" onclick='goto(${i})'>Read article
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
</a>
<span>
@ -10565,7 +10565,7 @@
const { download_url, name } = article;
if (name.slice(-5, name.length).includes('htm') && name.slice(0, -5) !== "index") {
allPromises.push(fetch(download_url));
allArticleNames.push(name.split('.')[0])
allArticleNames.push(name)
}
})
const res = await Promise.all(allPromises)