aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/http/WebServer.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-06 18:40:54 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-06 18:40:54 +1200
commit40107a7886412c4582ea9a9ee946f454e28a1178 (patch)
treebc6c3f7b6eac4a27e6b8403efbb258be46ddb787 /src/org/traccar/http/WebServer.java
parent926873438a66abcbaa204884970663e70b6882f8 (diff)
downloadtrackermap-server-40107a7886412c4582ea9a9ee946f454e28a1178.tar.gz
trackermap-server-40107a7886412c4582ea9a9ee946f454e28a1178.tar.bz2
trackermap-server-40107a7886412c4582ea9a9ee946f454e28a1178.zip
Add users API servlet
Diffstat (limited to 'src/org/traccar/http/WebServer.java')
-rw-r--r--src/org/traccar/http/WebServer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/http/WebServer.java b/src/org/traccar/http/WebServer.java
index b56d04e87..9315ad059 100644
--- a/src/org/traccar/http/WebServer.java
+++ b/src/org/traccar/http/WebServer.java
@@ -53,6 +53,7 @@ public class WebServer {
servletHandler.setContextPath("/api");
servletHandler.addServlet(new ServletHolder(new AsyncServlet()), "/async/*");
servletHandler.addServlet(new ServletHolder(new ServerServlet()), "/server/*");
+ servletHandler.addServlet(new ServletHolder(new UserServlet()), "/user/*");
servletHandler.addServlet(new ServletHolder(new DeviceServlet()), "/device/*");
servletHandler.addServlet(new ServletHolder(new PositionServlet()), "/position/*");
servletHandler.addServlet(new ServletHolder(new MainServlet()), "/*");