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

This commit is contained in:
Traxus 2023-04-21 21:33:49 -04:00
parent 8a6d6aaceb
commit d65eac93c8

View File

@ -69,7 +69,6 @@ export const getStaticPaths: GetStaticPaths = async () => {
async function postsSlugsJsonFromSource() {
let postsSlugsJson = {};
let postsJson = {};
if (process.env.NEXT_PUBLIC_DATOCMS_BYPASS_TYPE === "local_json") {
postsSlugsJson = await getAllBlogPostsSlugsFromSource();
} else {