aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/WebServer.java
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-07-13 15:29:39 +0300
committerninioe <ninioe@gmail.com>2016-07-13 15:29:39 +0300
commit0e7cb81693a1067af81b6d74544f16d01fce8b6e (patch)
tree2c7069e1d124406d86a7abfa02e3cb7bae4fdf37 /src/org/traccar/web/WebServer.java
parentd045c1e2174146ddc8ad8b2ef4442863f3d84a11 (diff)
downloadtrackermap-server-0e7cb81693a1067af81b6d74544f16d01fce8b6e.tar.gz
trackermap-server-0e7cb81693a1067af81b6d74544f16d01fce8b6e.tar.bz2
trackermap-server-0e7cb81693a1067af81b6d74544f16d01fce8b6e.zip
changes Anton asked me
Diffstat (limited to 'src/org/traccar/web/WebServer.java')
-rw-r--r--src/org/traccar/web/WebServer.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java
index 73702cc3d..4ef31b1df 100644
--- a/src/org/traccar/web/WebServer.java
+++ b/src/org/traccar/web/WebServer.java
@@ -118,13 +118,9 @@ public class WebServer {
resourceHandler.setResourceBase(config.getString("web.path"));
if (config.getBoolean("web.debug")) {
resourceHandler.setWelcomeFiles(new String[] {"debug.html"});
- //Troubleshooting Locked Files on Windows (changed by Erez)
+ //Troubleshooting Locked UI Files on Windows while app is running (like html, js, css, etc...),
+ //you can make changes to the UI Files and refresh the page in the browser without stopping the app first
resourceHandler.setMinMemoryMappedContentLength(-1);
-
- /*DefaultServlet defaultServlet = new DefaultServlet();
- ServletHolder holder = new ServletHolder(defaultServlet);
- holder.setInitParameter("useFileMappedBuffer", "false");
- handler.addServlet(holder, "/");*/
} else {
resourceHandler.setWelcomeFiles(new String[] {"release.html", "index.html"});
}