Skip to content

Commit

Permalink
fix: ensure we statically generate pages when using the FS loader (#2012
Browse files Browse the repository at this point in the history
)

ensure we statically generate pages when using the FS loader
  • Loading branch information
Bryce Kalow committed Jun 20, 2023
1 parent 0263405 commit b62c5bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/_proxied-dot-io/get-static-generation-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ export const getStaticGenerationFunctions: typeof getStaticGenerationFunctionsBa

return {
...result,
// Do not statically generate any .io site pages
paths: [],
// Do not statically generate any .io site pages when reading remote content
...(opts.strategy === 'remote' && { paths: [] }),
}
},
getStaticProps,
Expand Down

1 comment on commit b62c5bf

@vercel
Copy link

@vercel vercel bot commented on b62c5bf Jun 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.