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 e61f910 commit 7daa904
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ func QRGen(w http.ResponseWriter, r *http.Request) {
return
}

w.Header().Add("Content-Type", "application/x-www-form-urlencoded")

err = t.Execute(w, nil)
if err != nil {
http.Error(w, fmt.Sprintf("failed to execute '%s' %s\n", string(b), err.Error()), http.StatusInternalServerError)
Expand Down

0 comments on commit 7daa904

Please sign in to comment.