索引微调

This commit is contained in:
tangly1024
2022-04-13 14:38:17 +08:00
parent a00241040d
commit e6ff725500

View File

@@ -37,7 +37,8 @@ export async function getStaticProps({ params: { keyword } }) {
props.posts = await filterByMemCache(props.allPosts, keyword)
props.keyword = keyword
return {
props
props,
revalidate: 1
}
}