mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-06-07 14:03:33 +02:00
Shrink the qr code a bit
This commit is contained in:
@@ -433,7 +433,7 @@ Endpoint = %s
|
|||||||
format := r.URL.Query().Get("format")
|
format := r.URL.Query().Get("format")
|
||||||
|
|
||||||
if format == "qrcode" {
|
if format == "qrcode" {
|
||||||
png, err := qrcode.Encode(configData, qrcode.Medium, 210)
|
png, err := qrcode.Encode(configData, qrcode.Medium, 190)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error(err)
|
log.Error(err)
|
||||||
w.WriteHeader(http.StatusInternalServerError)
|
w.WriteHeader(http.StatusInternalServerError)
|
||||||
|
|||||||
Reference in New Issue
Block a user