aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();