mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-05-07 09:34:17 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
3dffa9d082
commit
7f38771b8c
@ -67,7 +67,7 @@ export const getStaticPaths: GetStaticPaths = async () => {
|
||||
|
||||
//const posts = await getAllBlogPostsSlugs()
|
||||
|
||||
async function postsSlugsJsonFromSource() : any {
|
||||
async function postsSlugsJsonFromSource() : Promise<any> {
|
||||
let postsSlugsJson = {};
|
||||
if (process.env.NEXT_PUBLIC_DATOCMS_BYPASS_TYPE === "local_json") {
|
||||
postsSlugsJson = await getAllBlogPostsSlugsFromSource();
|
||||
@ -114,7 +114,7 @@ export const getStaticProps: GetStaticProps = async (
|
||||
)
|
||||
*/
|
||||
|
||||
async function getRelatedBlogPostsFromSource() {
|
||||
async function getRelatedBlogPostsFromSource() : Promise<any> {
|
||||
|
||||
let relatedBlogPosts = {};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user