mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This is a follow-up PR for #49403. #49403 validates `assetPrefix` is not a relative path. But App Router throws an error with the `assetPrefix: "/"` option. So I've fixed this. <img width="964" alt="Screenshot 2023-05-10 at 23 41 56" src="https://github.com/vercel/next.js/assets/250407/6e83cb57-468c-46d6-a91a-747ad39d6c3c"> `assetPrefix: "/"` has no meaning, but it shouldn't fail.
4 lines
78 B
JavaScript
4 lines
78 B
JavaScript
export default function Index(props) {
|
|
return <p id="title">IndexPage</p>
|
|
}
|