Files
ec9a87afd8 fix test case (#56034)
### What?

moving the production test case broke it


Closes WEB-1660

Co-authored-by: Jiachi Liu <[email protected]>
2023-09-26 18:41:46 +02:00

24 lines
477 B
JavaScript

import value from 'http://localhost:12345/value2.js'
const url = new URL(
'https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=ssr',
import.meta.url
)
export function getServerSideProps() {
return {
props: {
value,
url: url.pathname,
},
}
}
export default function Index({ value: serverValue, url: serverUrl }) {
return (
<div>
Hello {serverValue}+{value}+{serverUrl}+{url.pathname}
</div>
)
}