aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web
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/org/traccar/web
parentaac5af7aa0c2449459c88282dfcab5bee7785a6a (diff)
downloadtraccar-server-4d29679dec4508d28af7651cdfd130e5a218b387.tar.gz
traccar-server-4d29679dec4508d28af7651cdfd130e5a218b387.tar.bz2
traccar-server-4d29679dec4508d28af7651cdfd130e5a218b387.zip
Allow old API to be used separately
Diffstat (limited to 'src/org/traccar/web')
-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();