I have implemented WKND AEM SPA using Next.js + GraphQL.
My NextJS application is working on localhost:3000 successfully and no error on fetching _devPagesManifest.json
but when opening it on AEM localhost:4502, I am getting an issue "Error: Failed to fetch _devPagesManifest.json".
When checked-
(working) on frontend application, the URL is- localhost:3000/_next/static/development/_devPagesManifest.json
(not working) on AEM author, the URL is giving 404- http://localhost:4502/_next/static/development/_devPagesManifest.json
I believe on AEM too, it should be requested from 3000 port instead of 4502. Where can this be defined- any configs or settings?
Any help will be appreciated!
![error.png error.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/53697iEBDA7B7101346564/image-size/large/is-moderation-mode/true?v=v2&px=999)