React 에러 1
에러 : Access to XMLHttpRequest at 'http://localhost:8080/api' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. 해결 방법 cd를 이용하여 C:\Program Files\Google\Chrome\Application로 이동하기 chrome.exe --disable-web-security --user-data-dir=C:\Temp 라고 입력하기 다음과 같은 웹 페이지가 뜨면 성공!! 일단 에러가 보안성과 안전성 떄문에 전송을 못한다는 것인데 일단 명령..
2023.06.01