Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Patch with-fauna example. (vercel#27701)
Browse files Browse the repository at this point in the history
A few things I noticed when deploying the example.
  • Loading branch information
leerob committed Aug 2, 2021
1 parent cf0ba83 commit 362ed31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-fauna/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Guestbook example with Next.js and Fauna.",
"scripts": {
"dev": "next",
"build": "yarn setup && next build",
"build": "next build",
"start": "next start",
"setup": "node ./scripts/setup.js"
},
Expand Down
1 change: 1 addition & 0 deletions examples/with-fauna/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export const getStaticProps = async () => ({
props: {
initialEntries: await listGuestbookEntries(),
},
revalidate: 1,
})

export default Guestbook

0 comments on commit 362ed31

Please sign in to comment.