diff options
author | ninioe <ninioe@gmail.com> | 2016-07-13 15:29:39 +0300 |
---|---|---|
committer | ninioe <ninioe@gmail.com> | 2016-07-13 15:29:39 +0300 |
commit | 0e7cb81693a1067af81b6d74544f16d01fce8b6e (patch) | |
tree | 2c7069e1d124406d86a7abfa02e3cb7bae4fdf37 /src/org/traccar/web/WebServer.java | |
parent | d045c1e2174146ddc8ad8b2ef4442863f3d84a11 (diff) | |
download | trackermap-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.java | 8 |
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"}); } |