mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? When an absolute url with path has been set as the assetPrefix, the path is not used when serving the bundles. Instead the bundles are served directly on the root. The rewrite did not seem to take a path into account, only a host. e.g. when the assetPrefix is set to `https://example.vercel.sh/custom-asset-prefix`, it does not serve the bundles from `<host>/custom-asset-prefix/_next/*` instead only from `<host>/_next/*` Related; https://github.com/vercel/next.js/discussions/77118 --------- Co-authored-by: JJ Kasper <[email protected]>
11 lines
171 B
JavaScript
11 lines
171 B
JavaScript
export default function Root({ children }) {
|
|
return (
|
|
<html>
|
|
<head>
|
|
<title>Hello</title>
|
|
</head>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|