diff options
author | Vitaly Litvak <vitavaque@gmail.com> | 2015-09-06 11:39:39 +0300 |
---|---|---|
committer | Vitaly Litvak <vitavaque@gmail.com> | 2015-09-06 11:39:39 +0300 |
commit | 466364542c61e103d0e9d38aca70e729e688be35 (patch) | |
tree | 29166801123bba650c140bcf40842591d51466db /src/org/traccar/web/WebServer.java | |
parent | c7d05ca6969e7fd00f7000b47efe3865ff0d2cc2 (diff) | |
download | trackermap-server-466364542c61e103d0e9d38aca70e729e688be35.tar.gz trackermap-server-466364542c61e103d0e9d38aca70e729e688be35.tar.bz2 trackermap-server-466364542c61e103d0e9d38aca70e729e688be35.zip |
For #1395 - updated 'web.type' values to lower case
Diffstat (limited to 'src/org/traccar/web/WebServer.java')
-rw-r--r-- | src/org/traccar/web/WebServer.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java index 415c81c73..29af2b16e 100644 --- a/src/org/traccar/web/WebServer.java +++ b/src/org/traccar/web/WebServer.java @@ -53,15 +53,15 @@ public class WebServer { this.dataSource = dataSource; initServer(); - switch (config.getString("web.type", "NEW")) { - case "API": + switch (config.getString("web.type", "new")) { + case "api": initApi(); break; - case "NEW": + case "new": initApi(); initWebApp(); break; - case "OLD": + case "old": initApi(); initOldWebApp(); break; |