Hey max,
I’m stuck at the same point. I’m trying to integrate Kirby as headless with my Nuxt.js frontend via KQL Plugin.
No matter what I try, I always end up in the same CORS Preflight error… I’ve found two working solutions, but none of them make much sense to me:
- Use a Netlify Proxy to bypass the Preflight. (we cannot host our website in netlify)
- Have the Backend and Frontend in the same domain frontend.com and frontend.com/kirbybackend and make the requests to that specific route…
Have you found any solutions to this problem?
Best,
Juan