Only secure origins are allowed (see: https://permanently-removed.invalid/Y0ZkNV).

Only secure origins are allowed (see: https://permanently-removed.invalid/Y0ZkNV).

QA

Only secure origins are allowed (see: https://permanently-removed.invalid/Y0ZkNV).

답변 1

본문

Only secure origins are allowed (see: https://permanently-removed.invalid/Y0ZkNV).

 

지도 navigator.geolocation 하려고 하는데 에러인지 모르는 에러가 나오네요 html5 이면 지도 다되는거 아닌가요??

이 질문에 댓글 쓰기 :

답변 1

보안이 필요한 정보이기 때문에 ssl이 적용된 계정이 아니면 작동을 안 합니다.

실행하려는 코드 주소가 https로 시작되는지 확인해 보세요.

https://developer.mozilla.org/ko/docs/Web/API/Geolocation/getCurrentPosition

Secure context: This feature is available only in secure contexts (en-US) (HTTPS), in some or all supporting browsers.
여기 제일 처음에 이렇게 나오네요.

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