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 8512bf4 commit 82e77a8Copy full SHA for 82e77a8
examples/ssr-caching/package.json
@@ -12,5 +12,6 @@
12
"next": "latest",
13
"react": "^16.0.0",
14
"react-dom": "^16.0.0"
15
- }
+ },
16
+ "license": "ISC"
17
}
examples/ssr-caching/server.js
@@ -4,7 +4,7 @@ const LRUCache = require('lru-cache')
4
5
const port = parseInt(process.env.PORT, 10) || 3000
6
const dev = process.env.NODE_ENV !== 'production'
7
-const app = next({ dir: '.', dev })
+const app = next({ dev })
8
const handle = app.getRequestHandler()
9
10
// This is where we cache our rendered HTML pages
0 commit comments