보안문제로 인하여 MDN에서 MediaDevices Function은 https 에서만 접근을 허용해줌.
이에 개발환경 등에서 작업시 http접근 허용이 가능하도록 세팅이 필요함.
2. Search unsafely-treat-insecure-origin-as-secure
3. Enter the domain you want to allow access to in the input field and select "Enabled".
- 하단 사진의 Input 영역에 도메인주소를 입력 후 Enabled 선택
4. Reboot the web after clicking "relaunch"
- relaunch 클릭 후 웹 재부팅
728x90
728x90
'Dev > [Javascript] React...' 카테고리의 다른 글
React Fabric.js - 캔버스 전체 영역 썸네일 이미지 저장 및 다운로드하기 (0) | 2025.02.11 |
---|---|
({a, b, ...others}) 객체 구조 분해 할당으로 파라미터 다루기 (JavaScript Destructuring Assignment) (0) | 2025.02.04 |
React 클래스 변수와 State변수의 역할 및 차이 (1) | 2023.03.14 |
fakepath local image File path 로컬 이미지 미리보기 / createObjectURL - javascript (0) | 2023.02.20 |
[JavaScript] rest & delete 연산자 / 불변성을 유지하며 Object에서 내부 key 삭제하기 (0) | 2023.02.08 |