Rianshin

[JS]This request has been blocked; the content must be served over HTTPS. 본문

Develop/Javascript

[JS]This request has been blocked; the content must be served over HTTPS.

RianShin 2020. 11. 3. 12:04
728x90
반응형
SMALL
Mixed Content: The page at ‘https://page.com‘ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint
This request has been blocked; the content must be served over HTTPS.



http와 https의 통신을 한페이지에서 할경우 나오는데 아래와 같이 한줄 추가해주면 해결.

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> 

 

728x90
반응형
LIST
Comments