diff --git a/examples/custom-server-express/server.js b/examples/custom-server-express/server.js index 667f88a9..40f87279 100644 --- a/examples/custom-server-express/server.js +++ b/examples/custom-server-express/server.js @@ -2,7 +2,7 @@ const express = require('express') const next = require('next') const dev = process.env.NODE_ENV !== 'production' -const app = next({ dir: '.', dev }) +const app = next({ dev }) const handle = app.getRequestHandler() app.prepare()