gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
에러 나오는 상황.. --> 그런데 이거 왜인지 알 것 같다.. setting 파일 이름 바꿀 때 refactor 사용해서 디펜던시 문제 없게 만들어야겠음. --> wsgi.py에 있는 경로를 바꿔줬더니 바로 작동되었다.Access to XMLHttpRequest at 'https://api.reliefmom.co.kr/event/application' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
뭐지 뭐지 했는데 그냥 middleware 설정을 안했던 것이었다. 꼭 settings.py 설정을 기억하자...
INSTALLED_APPS =[ ... 'corsheaders', ...]
...
MIDDLEWARE = [ ...'corsheaders.middleware.CorsMiddleware',... ]
...
CORS_ORIGIN_WHITELIST = ['http://127.0.0.1:3000' ,'http://localhost:3000']
CORS_ALLOW_CREDENTIALS = True