Skip to content

Commit

Permalink
add: 記事詳細にもrevalidate設定
Browse files Browse the repository at this point in the history
  • Loading branch information
TeXmeijin committed Aug 9, 2020
1 parent 36aa794 commit 3c90a9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/$api.ts
1 change: 1 addition & 0 deletions pages/articles/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const getStaticProps: GetStaticProps<{ article: MicroCmsArticle }> = asyn
props: {
article,
},
revalidate: 1,
}
}

Expand Down

1 comment on commit 3c90a9a

@vercel
Copy link

@vercel vercel bot commented on 3c90a9a Aug 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.