aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-20 10:03:45 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-20 10:03:45 +1300
commit4d29679dec4508d28af7651cdfd130e5a218b387 (patch)
treeded28456bc07ef340b89ad1e6732ddd652d96736 /src
parentaac5af7aa0c2449459c88282dfcab5bee7785a6a (diff)
downloadtrackermap-server-4d29679dec4508d28af7651cdfd130e5a218b387.tar.gz
trackermap-server-4d29679dec4508d28af7651cdfd130e5a218b387.tar.bz2
trackermap-server-4d29679dec4508d28af7651cdfd130e5a218b387.zip
Allow old API to be used separately
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/web/WebServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java
index 18e013620..58f4c7f29 100644
--- a/src/org/traccar/web/WebServer.java
+++ b/src/org/traccar/web/WebServer.java
@@ -72,7 +72,7 @@ public class WebServer {
initServer();
switch (config.getString("web.type", "new")) {
case "api":
- initApi();
+ initOldApi();
break;
case "old":
initOldApi();