mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-05-19 05:13:30 +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")
|
||||
|
||||
if format == "qrcode" {
|
||||
png, err := qrcode.Encode(configData, qrcode.Medium, 210)
|
||||
png, err := qrcode.Encode(configData, qrcode.Medium, 190)
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
|
||||
Reference in New Issue
Block a user