Fixed client link
Build and Publish / Build and Publish Docker Image (push) Successful in 1m42s

This commit is contained in:
ab
2026-09-20 21:11:49 +03:00
parent 6449d8b59a
commit 46351351fc
4 changed files with 62 additions and 2 deletions
+2 -1
View File
@@ -72,7 +72,8 @@
<script src="https://cdn.jsdelivr.net/npm/qrious@4.0.2/dist/qrious.min.js"></script>
<script>
(function() {
var url = window.location.origin + '/client/{{ client_token }}';
var base = '{{ portal_base }}' || window.location.origin;
var url = base + '/client/{{ client_token }}';
document.getElementById('portalUrl').value = url;
new QRious({ element: document.getElementById('qrCanvas'), value: url, size: 180, level: 'M' });
})();