CORS issue with NextJS
-
I have next js setup and trying to make dynamic categories section in menu but getting CORS error, I also checked below URL
https://bagisto.com/en/how-to-fix-cors-issue-in-bagisto/#:~:text=It`s an HTTP-header,will permit the actual request.but solution not worked - https://prnt.sc/TQQmEo8I6J3W
-
You need to set the header to get this fixed.