Fix IP address print

Fix docker repo
Fix local build tasks
This commit is contained in:
steven committed 2018-08-01 22:34:29 -06:00
1 parent 51a36bd5b4
commit 3cf557ebe7
3 files changed
+4 -9

No files matched your search

+1 -1
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)