diff --git a/examples/ssr-caching/package.json b/examples/ssr-caching/package.json index 320ca4e1..3d88bf56 100644 --- a/examples/ssr-caching/package.json +++ b/examples/ssr-caching/package.json @@ -12,5 +12,6 @@ "next": "latest", "react": "^16.0.0", "react-dom": "^16.0.0" - } + }, + "license": "ISC" } diff --git a/examples/ssr-caching/server.js b/examples/ssr-caching/server.js index e5cb715a..8fcdb730 100644 --- a/examples/ssr-caching/server.js +++ b/examples/ssr-caching/server.js @@ -4,7 +4,7 @@ const LRUCache = require('lru-cache') const port = parseInt(process.env.PORT, 10) || 3000 const dev = process.env.NODE_ENV !== 'production' -const app = next({ dir: '.', dev }) +const app = next({ dev }) const handle = app.getRequestHandler() // This is where we cache our rendered HTML pages