Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const port = parseInt(process.env.PORT, 10) || 3000
- const dev = process.env.NODE_ENV !== 'production'
- const app = next({ dev })
- const handle = app.getRequestHandler()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement