From a59b2ecb49216963163fbff1665e4f9e88bde889 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 27 Jun 2015 11:04:12 +1200 Subject: Use new web app by default --- src/org/traccar/http/WebServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/http') 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"); -- cgit v1.2.3