mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-01-17 20:44:10 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
d65eac93c8
commit
3dffa9d082
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user