aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-10 16:12:17 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-10 16:12:17 +1200
commit9419d4099006da44ed357f7b6bdc46bbad5bd1ce (patch)
treeb0be5d92d7bb6db3039afce55fb8a6bcd8aae744
parent2a06a5f831e7abfe893c1c9efd0fd1e88fe90ea3 (diff)
downloadtrackermap-server-9419d4099006da44ed357f7b6bdc46bbad5bd1ce.tar.gz
trackermap-server-9419d4099006da44ed357f7b6bdc46bbad5bd1ce.tar.bz2
trackermap-server-9419d4099006da44ed357f7b6bdc46bbad5bd1ce.zip
Remove separate mobile folder
-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")) {