diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-20 10:03:45 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-20 10:03:45 +1300 |
commit | 4d29679dec4508d28af7651cdfd130e5a218b387 (patch) | |
tree | ded28456bc07ef340b89ad1e6732ddd652d96736 /src | |
parent | aac5af7aa0c2449459c88282dfcab5bee7785a6a (diff) | |
download | traccar-server-4d29679dec4508d28af7651cdfd130e5a218b387.tar.gz traccar-server-4d29679dec4508d28af7651cdfd130e5a218b387.tar.bz2 traccar-server-4d29679dec4508d28af7651cdfd130e5a218b387.zip |
Allow old API to be used separately
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/web/WebServer.java | 2 |
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(); |