bug: disable image (camera) attachment upload unless over HTTPS

Browser restriction: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#privacy_and_security
This commit is contained in:
Gary Sharp
2023-10-12 16:34:35 +11:00
parent a3fb09440d
commit 6740a7479a
9 changed files with 272 additions and 228 deletions
@@ -112,8 +112,8 @@
.getUserMedia({
audio: false,
video: {
width: { ideal: 1080 },
height: { ideal: 720 },
width: { ideal: 1920 },
height: { ideal: 1080 },
facingMode: 'environment'
}
})