aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyqsimon <28627918+cyqsimon@users.noreply.github.com>2022-07-26 05:10:21 +0000
committercyqsimon <28627918+cyqsimon@users.noreply.github.com>2022-08-22 10:51:17 +0000
commitef3ec4039e220d3dc4a83ac267101c4dc45dace8 (patch)
treec2399ea167274838cab19a792ed92a4109e34d70
parentMove QR code page style to `style.scss` (diff)
downloadminiserve-ef3ec4039e220d3dc4a83ac267101c4dc45dace8.tar.gz
miniserve-ef3ec4039e220d3dc4a83ac267101c4dc45dace8.zip
Use low EC level for QR code
-rw-r--r--src/consts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/consts.rs b/src/consts.rs
index 07f47b0..f10570a 100644
--- a/src/consts.rs
+++ b/src/consts.rs
@@ -1,4 +1,4 @@
use qrcode::EcLevel;
/// The error correction level to use for all QR code generation.
-pub const QR_EC_LEVEL: EcLevel = EcLevel::M;
+pub const QR_EC_LEVEL: EcLevel = EcLevel::L;