Skip to content

Commit

Permalink
adding revalidate
Browse files Browse the repository at this point in the history
  • Loading branch information
meleksomai committed Aug 16, 2024
1 parent 4e3ad1b commit e500a97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/somai.me/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.vercel
.env*.local
2 changes: 2 additions & 0 deletions apps/somai.me/app/essay/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ type Props = {
params: { slug: string };
};

export const revalidate = 0;

export default function EssayPage({ params }: Props) {
const post = getPostBySlug(params.slug);
const ast = Markdoc.parse(post.content);
Expand Down

0 comments on commit e500a97

Please sign in to comment.