Skip to content

Commit

Permalink
Merge pull request #301 from vordgi/rd-300
Browse files Browse the repository at this point in the history
rd-300 update example configuration
  • Loading branch information
vordgi authored Oct 13, 2024
2 parents 0e5614c + 9f4cfc2 commit fab05b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nextjs-conributing/src/app/[[...path]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const generateMetadata = async ({ params }: { params: { path?: string[] }

export const generateStaticParams = async () => {
const pages = await getPages();
return pages.map((page) => ({ path: page.split("/").slice(2) }));
return pages.map((page) => ({ path: page.split("/").slice(1) }));
};

export default Docs;

0 comments on commit fab05b1

Please sign in to comment.