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