mirror of
https://github.com/traccar/traccar.git
synced 2025-01-09 04:07:38 +08:00
Remove separate mobile folder
This commit is contained in:
parent
2a06a5f831
commit
9419d40990
@ -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>
|
||||
|
@ -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")) {
|
||||
|
Loading…
Reference in New Issue
Block a user