Fixup incorrecr variable
This commit is contained in:
parent
5c9c3ef187
commit
b692b2fba8
2
main.go
2
main.go
|
@ -246,7 +246,7 @@ func pasteHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
} else {
|
} else {
|
||||||
dat, err := ioutil.ReadFile("assets/syntax.html")
|
dat, err := ioutil.ReadFile("assets/syntax.html")
|
||||||
check(err)
|
check(err)
|
||||||
fmt.Fprintf(w, string(dat), paste, paste, highlight, link)
|
fmt.Fprintf(w, string(dat), paste, paste, s, link)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue