Closed fastner closed 2 years ago
Next.js 12.1 SSR delivers response data in UInt8Array format. In Node.js both string and UInt8Array are supported in function signature. See https://nodejs.org/dist/latest-v16.x/docs/api/buffer.html#static-method-bufferfrombuffer
With this fix, SSR (via getServerSideProps) is made possible in Next.js standalone mode.
Next.js 12.1 SSR delivers response data in UInt8Array format. In Node.js both string and UInt8Array are supported in function signature. See https://nodejs.org/dist/latest-v16.x/docs/api/buffer.html#static-method-bufferfrombuffer
With this fix, SSR (via getServerSideProps) is made possible in Next.js standalone mode.