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

//w.Header().Set("Content-Type", "application/x-www-form-urlencoded")
w.Header().Set("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 0ac7c86

Please sign in to comment.