Add version to GET info
This commit is contained in:
@ -5,7 +5,7 @@ import java.util.Set;
|
||||
|
||||
public class I2PControlVersion {
|
||||
/** The current version of I2PControl */
|
||||
public final static String VERSION = "0.1.0";
|
||||
public final static String VERSION = "0.12.0";
|
||||
|
||||
/** The current version of the I2PControl API being primarily being implemented */
|
||||
public final static int API_VERSION = 1;
|
||||
|
@ -106,7 +106,7 @@ public class JSONRPC2Servlet extends HttpServlet {
|
||||
protected void doGet(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws ServletException, IOException {
|
||||
httpServletResponse.setContentType("text/plain");
|
||||
PrintWriter out = httpServletResponse.getWriter();
|
||||
out.println("I2PControl RPC Service: Running");
|
||||
out.println("I2PControl RPC Service version " + I2PControlVersion.VERSION + " : Running");
|
||||
out.close();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user