From 9419d4099006da44ed357f7b6bdc46bbad5bd1ce Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 10 Aug 2015 16:12:17 +1200 Subject: Remove separate mobile folder --- src/org/traccar/web/WebServer.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') 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")) { -- cgit v1.2.3