rsnext/test/production/custom-server/pages/2.js
Shu Ding c7e5d76717
Fix custom server React resolution with app dir and pages both presented (#49805)
If running Next.js in the custom server with both app and pages directories presented, a standalone server needs to serve all traffic and the server running in main thread should be a no-op. (cc @ijjk).

Fixes the problem described here: https://github.com/vercel/next.js/issues/49355#issuecomment-1537536063.
2023-05-18 01:31:43 +00:00

5 lines
105 B
JavaScript

import { version } from 'react'
export default function Page() {
return <div>pages: {version}</div>
}