diff --git a/PVE/Service/pveproxy.pm b/PVE/Service/pveproxy.pm
index d10c4fe9..31493dbf 100755
--- a/PVE/Service/pveproxy.pm
+++ b/PVE/Service/pveproxy.pm
@@ -120,6 +120,9 @@ sub init {
'/proxmoxlib.js' => {
file => "$basedirs->{widgettoolkit}/proxmoxlib.js",
},
+ '/qrcode.min.js' => {
+ file => '/usr/share/javascript/qrcodejs/qrcode.min.js',
+ },
},
dirs => $dirs,
};
diff --git a/debian/control b/debian/control
index 03a06b4c..8b2c1fe9 100644
--- a/debian/control
+++ b/debian/control
@@ -45,6 +45,7 @@ Depends: apt-transport-https | apt (>= 1.5~),
libfile-readbackwards-perl,
libfilesys-df-perl,
libjs-extjs (>= 7.0.0),
+ libjs-qrcodejs (>= 1.20201119),
libjson-perl,
liblwp-protocol-https-perl,
libnet-dns-perl,
diff --git a/www/Makefile b/www/Makefile
index 639ad4b4..84abd027 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -9,7 +9,6 @@ install:
install -m 0644 index.html.tpl ${WWWBASEDIR}
install -d ${WWWJSDIR}
install -m 0644 u2f-api.js ${WWWJSDIR}
- install -m 0644 qrcode.min.js ${WWWJSDIR}
.PHONY: check
check:
diff --git a/www/index.html.tpl b/www/index.html.tpl
index 7f07ea18..92491618 100644
--- a/www/index.html.tpl
+++ b/www/index.html.tpl
@@ -25,7 +25,7 @@
[% END %]
-
+