diff --git a/package-lock.json b/package-lock.json index 88e4d16..d2a3930 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "better-sqlite3": "^13.0.3", "cors": "^2.8.6", "express": "^5.2.1", + "jsqr": "^1.4.0", "qrcode": "^1.5.4" } }, @@ -607,6 +608,12 @@ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", "license": "MIT" }, + "node_modules/jsqr": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/jsqr/-/jsqr-1.4.0.tgz", + "integrity": "sha512-dxLob7q65Xg2DvstYkRpkYtmKm2sPJ9oFhrhmudT1dZvNFFTlroai3AWSpLey/w5vMcLBXRgOJsbXpdN9HzU/A==", + "license": "Apache-2.0" + }, "node_modules/locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", diff --git a/package.json b/package.json index 1f973e7..0e329eb 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "better-sqlite3": "^13.0.3", "cors": "^2.8.6", "express": "^5.2.1", + "jsqr": "^1.4.0", "qrcode": "^1.5.4" } } diff --git a/public/index.html b/public/index.html index e860336..7e8ec97 100644 --- a/public/index.html +++ b/public/index.html @@ -260,11 +260,24 @@