the fallback property causes issue with static page rendering in vercel
This commit is contained in:
@@ -14,7 +14,7 @@ export const getStaticPaths = async () => {
|
|||||||
slug: page.slug,
|
slug: page.slug,
|
||||||
},
|
},
|
||||||
})),
|
})),
|
||||||
fallback: true,
|
fallback: false,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export const getStaticPaths = async () => {
|
|||||||
slug: post.slug,
|
slug: post.slug,
|
||||||
},
|
},
|
||||||
})),
|
})),
|
||||||
fallback: true,
|
fallback: false,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user