|
@@ -45,7 +45,7 @@ async function getIndexStructure() {
|
|
|
return indexCache;
|
|
return indexCache;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- const indexPath = path.join(__dirname, 'docs', 'index.md');
|
|
|
|
|
|
|
+ const indexPath = path.join(__dirname, 'index.md');
|
|
|
const content = await fs.readFile(indexPath, 'utf-8');
|
|
const content = await fs.readFile(indexPath, 'utf-8');
|
|
|
indexCache = parseIndexMd(content);
|
|
indexCache = parseIndexMd(content);
|
|
|
indexCacheTime = now;
|
|
indexCacheTime = now;
|