Skip to content

Commit

Permalink
feat: revalidate notion document links automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
mfts committed Jan 12, 2025
1 parent 9288138 commit f2aad9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/view/[linkId]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const getStaticProps = async (context: GetStaticPropsContext) => {
teamId === "cm0154tiv0000lr2t6nr5c6kp" ||
teamId === "clup33by90000oewh4rfvp2eg",
},
revalidate: brand ? 10 : false,
revalidate: brand || recordMap ? 10 : false,
};
}

Expand Down

0 comments on commit f2aad9f

Please sign in to comment.