Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
martinius96 authored Oct 29, 2023
1 parent bb118db commit b003bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/AR/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1>QR Code Scanner</h1>

Instascan.Camera.getCameras().then(function (cameras) {
if (cameras.length > 0) {
scanner.start(cameras[0]);
scanner.start(cameras[1]);
} else {
console.error('No cameras found.');
}
Expand Down

0 comments on commit b003bd8

Please sign in to comment.