rendered in real time by
This commit is contained in:
parent
3cf557ebe7
commit
595432a6d1
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user