skip to Main Content

Laravel / NextJS CORS Issue

I have been connecting my Laravel API backend to my NextJS frontend. Everything worked well until I put part of my NextJS app onto a subdomain and I immediately got CORS errors. "Access to XMLHttpRequest at 'http://myapp.test:8080/dashboard' (redirected from 'http://myapp.test:8080/api/login')…

VIEW QUESTION
Back To Top
Search