CORS Policy error in NextJs and Strapi

If you search cors in the forum its been asked a few times.