Signed-off-by: Traxus <shyidx@gmail.com>

This commit is contained in:
Traxus 2023-04-21 21:49:46 -04:00
parent 7aad07a4b1
commit d847944206

View File

@ -68,7 +68,7 @@ export const getStaticPaths: GetStaticPaths = async () => {
//const posts = await getAllBlogPostsSlugs()
async function postsSlugsJsonFromSource() : Promise<any> {
let postsSlugsJson = {};
let postsSlugsJson : any = {};
if (process.env.NEXT_PUBLIC_DATOCMS_BYPASS_TYPE === "local_json") {
postsSlugsJson = await getAllBlogPostsSlugsFromSource();
} else {