Uses Fprint instead of Fprintf

Fprintf causes rendering errors because it expects to interpret specific
characters strings, e.g. %2B, and replace with variables. When these
variables don't exist, `(MISSING)` is printed.
This commit is contained in:
Hugo Müller-Downing 2025-01-05 16:13:25 +11:00
parent ad925bc388
commit f457faa041

View file

@ -94,7 +94,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
newLine := "\n"
// Write frames
fmt.Fprintf(w, clearScreen+frames.GetFrame(i)+newLine)
fmt.Fprint(w, clearScreen+frames.GetFrame(i)+newLine)
i++
// Send some data.