summarylogtreecommitdiffstats
path: root/qrcode.patch
blob: 535b6d37b1d91a79c3dd317da033b17b887a8dcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -aur drive.orig/drive-server/main.go drive.new/drive-server/main.go
--- drive.orig/drive-server/main.go	2021-02-20 17:10:39.616416192 +0100
+++ drive.new/drive-server/main.go	2021-02-20 17:13:34.942133037 +0100
@@ -111,7 +111,7 @@
 	}
 
 	uri := pl.URI
-	pngImage, err := qrcode.Encode(uri, 256)
+	pngImage, err := qrcode.Encode(uri, qrcode.Medium, 256)
 	if err != nil {
 		fmt.Fprintf(res, "%s %v\n", uri, err)
 		return