diff options
-rw-r--r-- | debug.xml | 1 | ||||
-rw-r--r-- | src/org/traccar/web/WebServer.java | 6 |
2 files changed, 0 insertions, 7 deletions
@@ -12,7 +12,6 @@ <!--<entry key='web.application'>../traccar-web/traccar-web.war</entry> <entry key='web.old'>true</entry>--> <entry key='web.path'>web</entry> - <entry key='web.mobile'>webm</entry> <entry key='web.debug'>true</entry> <entry key='geocoder.enable'>false</entry> diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java index 3eb0fee07..0bff3a839 100644 --- a/src/org/traccar/web/WebServer.java +++ b/src/org/traccar/web/WebServer.java @@ -77,12 +77,6 @@ public class WebServer { servletHandler.addServlet(new ServletHolder(new CommandServlet()), "/command/*"); servletHandler.addServlet(new ServletHolder(new MainServlet()), "/*"); - /*ResourceHandler mobileResourceHandler = new ResourceHandler(); - mobileResourceHandler.setResourceBase(properties.getProperty("web.mobile")); - mobileResourceHandler.setWelcomeFiles(new String[] {"index.html"}); - ContextHandler mobileContext = new ContextHandler("/m"); - mobileContext.setHandler(mobileResourceHandler);*/ - ResourceHandler resourceHandler = new ResourceHandler(); resourceHandler.setResourceBase(config.getString("web.path")); if (config.getBoolean("web.debug")) { |