Skip to content

Commit

Permalink
Edits
Browse files Browse the repository at this point in the history
  • Loading branch information
grellyd committed Aug 29, 2023
1 parent 01f28d2 commit 07cb073
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,13 @@ func QRCode(w http.ResponseWriter, r *http.Request) {
return
}

l := r.PostFormValue("link")
globallogger.Info(fmt.Sprintf("link: %s\n", l))
for k, v := range r.Form {
globallogger.Info(fmt.Sprintf("%s: %s\n", k, v))
}

link := r.PostFormValue("link")
globallogger.Info(fmt.Sprintf("link: %s\n", link))

link := "https://docs.google.com/forms/d/1UX81h0a9k1NaFY6Q09jgO4ns1iNwEOSnkw1c33YBON4/edit"
scaleFactor := 50

i, err := generateQRCode(link, scaleFactor)
Expand Down

0 comments on commit 07cb073

Please sign in to comment.