mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-01-17 14:34:08 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
26f6c74fd5
commit
360a04d83c
@ -387,7 +387,7 @@ async function getSingleBlogPostJsonBySlug(slug : string) {
|
||||
let jsonDirectory = getBlogJsonDirectoryPath();
|
||||
let jsonFile = slug + '.json';
|
||||
let jsonPath = path.join(jsonDirectory, jsonFile);
|
||||
let blogPost = {};
|
||||
let blogPost : any = {};
|
||||
|
||||
try {
|
||||
let fileRawContents = await fs.readFile(jsonPath, 'utf8');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user