구글 폰트 css 가 에러인데 이건 어디를 수정해야 하나요??

구글 폰트 css 가 에러인데 이건 어디를 수정해야 하나요??

QA

구글 폰트 css 가 에러인데 이건 어디를 수정해야 하나요??

답변 1

본문

아래의 오류유형인데 사이트는 제대로 돌아가고요.

https 를 안썻다고 하는데 https로 변경했는데도 http://fonts.goo............ 이렇게 뜨네요.

css 파일 부분입니다.

 

@charset "utf-8";

@import url(https://fonts.googleapis.com/earlyaccess/notosanskr.css);
@import url(https://fonts.googleapis.com/css?family=Roboto);

 

-------------- 여기는 콘솔에서 에러메시지

 

Mixed Content: The page at 'https://도메인' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/earlyaccess/nanumgothic.css'. This request has been blocked; the content must be served over HTTPS.
VM463:13

Mixed Content: The page at 'https://도메인 was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/earlyaccess/notosanskr.css'. This request has been blocked; the content must be served over HTTPS.

이 질문에 댓글 쓰기 :

답변 1

css 변경후에는 브라우저의 캐시를 삭제 하시거나
css?ver=1 등으로 임의의 변수를 붙여 새로 파일을 받게 하시거나 하셔야 제대로 반영 됩니다

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 17
© SIRSOFT
현재 페이지 제일 처음으로