I am using a customer express server with Next.js. It\'s running within a container. I am doing an http request with isomorphic-fetch to get data for my render.
isomorphic-fetch
Now (2020 Jan) it should be typeof window === 'undefined' since process.browser is deprecated
typeof window === 'undefined'
process.browser
Refer to https://github.com/zeit/next.js/issues/5354#issuecomment-520305040