CORS

공개/Spring

[Springboot] CORS 설정시 Mapping 관련 오류

예전 자료를 보면서 spring security랑 jwt 토큰 공부중에 발생한 오류가 있었다. allowedOrigins 에러 java.lang.IllegalArgumentException: When allowCredentials is true, allowedOrigins cannot contain the special value "*" since that cannot be set on the "Access-Control-Allow-Origin" response header. To allow credentials to a set of origins, list them explicitly or consider using "allowedOriginPatterns" instead. 스프링부트에서 CORS 설정..

공개/기록하기

[AWS S3] html2canvas 사용 중 s3 url 일 때 생성 안되는 오류 해결

최근 캡스톤과 개인프로젝트, 자격증 시험 등 여러 핑계로 블로그 업로드를 미뤘는데 프로젝트 진행 중 이슈를 해결하며, 이 내용을 기록해 두면 다른 사람들에게도 도움이 되지않을까 싶어서 기록해본다! html2canvas 사용 중 s3 url 일 때 생성 안되는 오류 계속 s3 url이 src인 이미지만 썸네일에 포함 안되는 오류가 있었다 html2canvas(imageArea, { useCORS: true }).then(canvas => { 추가하고 img.crossOrigin = 'anonymous'; 추가! canvas() { try { const imageArea = this.$refs.dragImage; html2canvas(imageArea, { useCORS: true }).then(canvas..

잔망짱구
'CORS' 태그의 글 목록