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

This commit is contained in:
Traxus 2023-04-21 21:36:54 -04:00
parent d65eac93c8
commit 3dffa9d082

View File

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