extension issue fix
This commit is contained in:
parent
b7a1188276
commit
4b4486881c
@ -10371,7 +10371,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<p>${sections[0].paragraph}</p>
|
<p>${sections[0].paragraph}</p>
|
||||||
<div class="flex align-center space-between">
|
<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>
|
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
<span>
|
<span>
|
||||||
@ -10565,7 +10565,7 @@
|
|||||||
const { download_url, name } = article;
|
const { download_url, name } = article;
|
||||||
if (name.slice(-5, name.length).includes('htm') && name.slice(0, -5) !== "index") {
|
if (name.slice(-5, name.length).includes('htm') && name.slice(0, -5) !== "index") {
|
||||||
allPromises.push(fetch(download_url));
|
allPromises.push(fetch(download_url));
|
||||||
allArticleNames.push(name.split('.')[0])
|
allArticleNames.push(name)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
const res = await Promise.all(allPromises)
|
const res = await Promise.all(allPromises)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user