Skip to content

Commit

Permalink
fix:Error Fetching _devpagesmanifest.json vercel#17274
Browse files Browse the repository at this point in the history
  • Loading branch information
itz-Me-Pj committed Jan 7, 2024
1 parent 28fdc36 commit 80d6049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/client/page-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default class PageLoader {
return window.__DEV_PAGES_MANIFEST.pages
} else {
this.promisedDevPagesManifest ||= fetch(
`${this.assetPrefix}/_next/static/development/${DEV_CLIENT_PAGES_MANIFEST}`
`${this.assetPrefix}/_next/static/development/${DEV_CLIENT_PAGES_MANIFEST}`,{credentials:'same-origin'}
)
.then((res) => res.json())
.then((manifest: { pages: string[] }) => {
Expand Down

0 comments on commit 80d6049

Please sign in to comment.