mixed-content
- https 사이트에서 ajax로 http 사이트에 request를 요청해서 발생
- https인 홈페이지에 외부 경로의 파일을 http로 불러와서 생기는 오류
해결방법
- html파일 헤더에 <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> 추가
- 외부 경로들(jQuery 스크립트, 이미지 등)을 모두 https 또는 //로 변경
배운점
- 외부리소스 주소는 운영기준으로!
참고) https://cheershennah.tistory.com/m/158
'개발 한 스푼' 카테고리의 다른 글
Slack Incoming Webhook (0) | 2024.05.31 |
---|---|
JSTL과 템플릿리터럴, text interpolation 충돌 (0) | 2023.11.30 |
WGS84 경위도 좌표(GRS80) 변환 (0) | 2023.06.30 |
[전자정부프레임워크] iBatis 다중 Datasource (0) | 2023.05.08 |
Emoji 저장 실패 오류 (0) | 2023.04.14 |