Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
udpcount route doesn't work #92
I've generate project through maven
mvn archetype:generate -DarchetypeGroupId=org.ninjaframework -DarchetypeArtifactId=ninja-core-demo-archetype
After run this project by jetty /udpcount cannot be accessed. Although udp listener had started. Log doesn't contain any error.
Java Version: 184.108.40.206
Hi and thanks for the bugreport...
you are right. The problem is that the return method should be like return Results.json().render(count.get()); and NOT Results.json(count.get()). If you change that it will work.
I'll mark that as bug, and we should fix that for the next release (plus a testcase :) ).