aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-01 12:36:28 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-01 12:36:28 +1200
commitd310875d1bf13baa13daba2ec73107dbeaa397f7 (patch)
treec18e3b7de87bfb470d6d2de2203e4236657a173b /src/org/traccar
parentc91259f62618358ccf662a5d883f70df79ecbe65 (diff)
downloadtrackermap-server-d310875d1bf13baa13daba2ec73107dbeaa397f7.tar.gz
trackermap-server-d310875d1bf13baa13daba2ec73107dbeaa397f7.tar.bz2
trackermap-server-d310875d1bf13baa13daba2ec73107dbeaa397f7.zip
Load server settings in web
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/http/WebServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/http/WebServer.java b/src/org/traccar/http/WebServer.java
index c6dd6e04d..477e54c3c 100644
--- a/src/org/traccar/http/WebServer.java
+++ b/src/org/traccar/http/WebServer.java
@@ -52,7 +52,7 @@ public class WebServer {
ServletContextHandler servletHandler = new ServletContextHandler(ServletContextHandler.SESSIONS);
servletHandler.setContextPath("/api");
servletHandler.addServlet(new ServletHolder(new AsyncServlet()), "/async/*");
- servletHandler.addServlet(new ServletHolder(new DeviceServlet()), "/server/*");
+ servletHandler.addServlet(new ServletHolder(new ServerServlet()), "/server/*");
servletHandler.addServlet(new ServletHolder(new DeviceServlet()), "/device/*");
servletHandler.addServlet(new ServletHolder(new PositionServlet()), "/position/*");
servletHandler.addServlet(new ServletHolder(new MainServlet()), "/*");