웹서버에 올려져 있는 파일은 Fetch 함수를 통해 읽어온다. 그런데 이 Fetch 함수 주소에 http://localhost:8080/ 이렇게 넣어서 읽어오려면 웹브라우저 보안 때문에 아래와 같이 CORS Error가 생긴다. blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled. 이것을 해결하기 위해 html로 로컬 파일을 지정해서 읽는 두 단계로 진행해야 문제를 해..