Files
StevenandGitHub d32121b736 chore(test): test remote image from proxy (#56895)
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
2023-10-16 14:48:29 -04:00

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'