diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-27 11:04:12 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-27 11:04:12 +1200 |
commit | a59b2ecb49216963163fbff1665e4f9e88bde889 (patch) | |
tree | de9f2c725571f68a378541ea528b9f885542bf31 /src/org/traccar/http | |
parent | fe2a12db2143698fa61c57af87734af078ce52d9 (diff) | |
download | traccar-server-a59b2ecb49216963163fbff1665e4f9e88bde889.tar.gz traccar-server-a59b2ecb49216963163fbff1665e4f9e88bde889.tar.bz2 traccar-server-a59b2ecb49216963163fbff1665e4f9e88bde889.zip |
Use new web app by default
Diffstat (limited to 'src/org/traccar/http')
-rw-r--r-- | src/org/traccar/http/WebServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/http/WebServer.java b/src/org/traccar/http/WebServer.java index 622f2b6d4..21e43b3d3 100644 --- a/src/org/traccar/http/WebServer.java +++ b/src/org/traccar/http/WebServer.java @@ -46,7 +46,7 @@ public class WebServer { server = new Server(new InetSocketAddress(address, port)); } - if (Boolean.valueOf(properties.getProperty("web.new"))) { + if (!Boolean.valueOf(properties.getProperty("web.old"))) { ServletContextHandler servletHandler = new ServletContextHandler(ServletContextHandler.SESSIONS); servletHandler.setContextPath("/api"); |