diff --git a/examples/simple-example/repos.json b/examples/simple-example/datasets.json similarity index 100% rename from examples/simple-example/repos.json rename to examples/simple-example/datasets.json diff --git a/examples/simple-example/pages/@org/[org]/[project].tsx b/examples/simple-example/pages/@org/[org]/[project].tsx index 27b038dc..bf91ba4d 100644 --- a/examples/simple-example/pages/@org/[org]/[project].tsx +++ b/examples/simple-example/pages/@org/[org]/[project].tsx @@ -70,7 +70,7 @@ export default function ProjectPage({ // Generates `/posts/1` and `/posts/2` export async function getStaticPaths() { - const jsonDirectory = path.join(process.cwd(), '/examples/simple-example/repos.json'); + const jsonDirectory = path.join(process.cwd(), '/examples/simple-example/datasets.json'); const repos = await fs.readFile(jsonDirectory, 'utf8'); return { diff --git a/examples/simple-example/pages/index.tsx b/examples/simple-example/pages/index.tsx index be6dd0bd..c132bca8 100644 --- a/examples/simple-example/pages/index.tsx +++ b/examples/simple-example/pages/index.tsx @@ -7,7 +7,7 @@ import Link from 'next/link'; export async function getStaticProps() { const jsonDirectory = path.join( process.cwd(), - '/examples/simple-example/repos.json' + '/examples/simple-example/datasets.json' ); const repos = await fs.readFile(jsonDirectory, 'utf8');