mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This PR adds a test to ensure we don't regress again when using proxies in front of Next.js with `connection: 'upgrade'`. - Regression introduced in https://github.com/vercel/next.js/pull/56226 - Issue reported in https://github.com/vercel/next.js/issues/56038 - Rolled back in https://github.com/vercel/next.js/pull/56836
23 lines
483 B
JavaScript
23 lines
483 B
JavaScript
import Comp from './Comp'
|
|
import Image from 'next/image'
|
|
import testPng from '../images/test.png'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<>
|
|
<h2>app-page</h2>
|
|
<Image id="app-page" src={testPng} quality={90} />
|
|
<Image
|
|
id="remote-app-page"
|
|
src="https://image-optimization-test.vercel.app/test.jpg"
|
|
width="200"
|
|
height="200"
|
|
quality={90}
|
|
/>
|
|
<Comp />
|
|
</>
|
|
)
|
|
}
|
|
|
|
export const runtime = 'experimental-edge'
|