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!