diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-10 16:12:17 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-10 16:12:17 +1200 |
commit | 9419d4099006da44ed357f7b6bdc46bbad5bd1ce (patch) | |
tree | b0be5d92d7bb6db3039afce55fb8a6bcd8aae744 | |
parent | 2a06a5f831e7abfe893c1c9efd0fd1e88fe90ea3 (diff) | |
download | trackermap-server-9419d4099006da44ed357f7b6bdc46bbad5bd1ce.tar.gz trackermap-server-9419d4099006da44ed357f7b6bdc46bbad5bd1ce.tar.bz2 trackermap-server-9419d4099006da44ed357f7b6bdc46bbad5bd1ce.zip |
Remove separate mobile folder
-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")) { |