rendered in real time by

This commit is contained in:
Steven Polley 2018-08-01 22:38:25 -06:00
parent 3cf557ebe7
commit 595432a6d1

View File

@ -122,7 +122,7 @@ func renderTile(w http.ResponseWriter, r *http.Request) {
ip := GetOutboundIP() ip := GetOutboundIP()
addLabel(img, 20, 30, fmt.Sprintf("%s", ip.String())) addLabel(img, 20, 30, fmt.Sprintf("rendered by \n%s", ip.String()))
//addLabel(img, 20, 30, fmt.Sprintf("%s/%s/%s.png", components[1], components[2], components[3])) //addLabel(img, 20, 30, fmt.Sprintf("%s/%s/%s.png", components[1], components[2], components[3]))
w.Header().Set("Content-Type", "image/png") w.Header().Set("Content-Type", "image/png")
png.Encode(w, img) png.Encode(w, img)