Fix IP address print

Fix docker repo
Fix local build tasks
This commit is contained in:
2018-08-01 22:34:29 -06:00
parent 51a36bd5b4
commit 3cf557ebe7
3 changed files with 4 additions and 9 deletions

View File

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