Working on a personal project I was going through hell with CORS and my backend dev was struggling to fix it on the Koa server. I went into the server code and moved koa/cors from api.ts to server.ts and that seemed to fix my problem. Now I can load API data from my Vite app. #codeinpublic
3 likes 2 replies
?