diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..47588c8 --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +**/$api.ts diff --git a/pages/articles/[id].tsx b/pages/articles/[id].tsx index b4a2250..e7afd6d 100644 --- a/pages/articles/[id].tsx +++ b/pages/articles/[id].tsx @@ -19,6 +19,7 @@ export const getStaticProps: GetStaticProps<{ article: MicroCmsArticle }> = asyn props: { article, }, + revalidate: 1, } }