I have a servlet exposed through a path param
@SlingServlet(paths = { "/exampleservlet" }, methods = {"GET"})
when I try to make a fetch call(GET) from my React Js front end layer hosted on node server, AEM is not allowing me to reach the servlet and I get a CORS policy exception in my browser console.
Any kind of assistance or suggestions would be appreciated.
Thank you.