@ -121,7 +121,7 @@ func (s *Server) sendResponse(resp http.ResponseWriter, ip *IP, responseType res
body = buffer.Bytes()
default:
body = []byte(ip.String())
body = []byte(ip.String() + "\n")
}
if err != nil {
@ -20,7 +20,7 @@ const (
func main() {
app := cli.NewApp()
app.Name = appName
app.Version = "0.5.0"
app.Version = "0.6.0"
app.Usage = "Webapp that gives the IP address for incoming requests"
app.Action = action