Remove separate mobile folder

This commit is contained in:
Anton Tananaev 2015-08-10 16:12:17 +12:00
parent 2a06a5f831
commit 9419d40990
2 changed files with 0 additions and 7 deletions

View File

@ -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>

View File

@ -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")) {