I'm using the CMS template and am now trying out the corresponding front end and it hits the following issue:
host:8000/api/graphql' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. index.tsx:75
I have a general understanding of CORS but am curious of the best path forward within Payload to make this work. TIA.