Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. const port = parseInt(process.env.PORT, 10) || 3000
  2. const dev = process.env.NODE_ENV !== 'production'
  3.  
  4. const app = next({ dev })
  5. const handle = app.getRequestHandler()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement