Skip to content

Commit

Permalink
Increase max duartion
Browse files Browse the repository at this point in the history
  • Loading branch information
MaedahBatool committed May 9, 2024
1 parent effc9a9 commit 2b21d44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/[...slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import {allPosts} from 'contentlayer/generated';
import {getMDXComponent} from 'next-contentlayer/hooks';
import {notFound} from 'next/navigation';

export const maxDuration = 300;

export const generateStaticParams = async () => {
return allPosts.map(post => ({
params: {slug: post._raw.flattenedPath.split('/')}
Expand Down

0 comments on commit 2b21d44

Please sign in to comment.