프론트는 localhost:3000, 백엔드는 localhost:8080에서 돌리고 있는데 fetch 하니까 콘솔에 이런 에러 뜸


Access to fetch at 'http://localhost:8080/api/users' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.


포스트맨으로는 똑같은 요청 잘 되는데 브라우저에서만 이럼. 뭐가 문제인가요