aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debug.xml1
-rw-r--r--src/org/traccar/web/WebServer.java6
2 files changed, 0 insertions, 7 deletions
diff --git a/debug.xml b/debug.xml
index 43b9a866e..85cdb46b8 100644
--- a/debug.xml
+++ b/debug.xml
@@ -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")) {