DRF(Django Rest Framework) - Vue.js 연동 시 CORS 이슈

    Access to XMLHttpRequest at 'http://localhost:8000/api/v1/app_name' from origin 'http://localhost:8081' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. DRF 과정에서 만든 api 서버에 AJAX 요청을 보내면 보안 상의 이유(CORS policy)로 리소스를 반환해주지 않는다. 따라서 다음과 같은 설정이 필요하다. django-cors-headers GitHub - adamchainz/django-cors-headers: Django app for handling the s..