Kirby is running under localhost:8000
Frontend is running under localhost:3000
Fetching data from /api
gives the following error:
Access to XMLHttpRequest at ‘http://localhost:8000/api/site’ from origin ‘http://localhost:3000’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: It does not have HTTP ok status.
Any Idea how to solve this?