Add newline to text output

master v0.6.0
Buddy Sandidge 5 years ago
parent 54f3f5aae7
commit 7ea083bc6d

@ -121,7 +121,7 @@ func (s *Server) sendResponse(resp http.ResponseWriter, ip *IP, responseType res
body = buffer.Bytes() body = buffer.Bytes()
default: default:
body = []byte(ip.String()) body = []byte(ip.String() + "\n")
} }
if err != nil { if err != nil {

@ -20,7 +20,7 @@ const (
func main() { func main() {
app := cli.NewApp() app := cli.NewApp()
app.Name = appName 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.Usage = "Webapp that gives the IP address for incoming requests"
app.Action = action app.Action = action

Loading…
Cancel
Save