From 4d29679dec4508d28af7651cdfd130e5a218b387 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 20 Dec 2015 10:03:45 +1300 Subject: Allow old API to be used separately --- src/org/traccar/web/WebServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3