We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe3f520 commit 3c984dcCopy full SHA for 3c984dc
examples/with-fauna/package.json
@@ -5,7 +5,7 @@
5
"description": "Guestbook example with Next.js and Fauna.",
6
"scripts": {
7
"dev": "next",
8
- "build": "yarn setup && next build",
+ "build": "next build",
9
"start": "next start",
10
"setup": "node ./scripts/setup.js"
11
},
examples/with-fauna/pages/index.js
@@ -176,6 +176,7 @@ export const getStaticProps = async () => ({
176
props: {
177
initialEntries: await listGuestbookEntries(),
178
179
+ revalidate: 1,
180
})
181
182
export default Guestbook
0 commit comments