mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-01-22 01:14:17 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
8a6d6aaceb
commit
d65eac93c8
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user