diff --git a/README.md b/README.md index 25a63f3a..a41aaa63 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ Edit `src/main/java/com/example/App.java` and replace it with: import java.io.IOException; import java.util.Map; + import java.util.List; import fi.iki.elonen.NanoHTTPD; // NOTE: If you're using NanoHTTPD >= 3.0.0 the namespace is different, @@ -63,11 +64,11 @@ Edit `src/main/java/com/example/App.java` and replace it with: @Override public Response serve(IHTTPSession session) { String msg = "
Hello, " + parms.get("username") + "!
"; + msg += "Hello, " + parms.get("username").get(0) + "!
"; } return newFixedLengthResponse(msg + "\n"); }