From 3c90a9a4d6c46527fb8a951ba5ff998884eecb14 Mon Sep 17 00:00:00 2001 From: Texmeijin Date: Sun, 9 Aug 2020 23:13:39 +0900 Subject: [PATCH] =?UTF-8?q?add:=20=E8=A8=98=E4=BA=8B=E8=A9=B3=E7=B4=B0?= =?UTF-8?q?=E3=81=AB=E3=82=82revalidate=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintignore | 1 + pages/articles/[id].tsx | 1 + 2 files changed, 2 insertions(+) create mode 100644 .eslintignore 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, } }