diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-15 00:03:36 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-15 00:03:57 +1300 |
commit | d2119238ae75b7a6cf462c223b6017d3b37909ad (patch) | |
tree | 83962be31eb23666b8951e42daf9f14c9aff2e41 | |
parent | 1a3b3b1dd599a2f00a19987e7db4e522b8a62fc5 (diff) | |
download | traccar-server-d2119238ae75b7a6cf462c223b6017d3b37909ad.tar.gz traccar-server-d2119238ae75b7a6cf462c223b6017d3b37909ad.tar.bz2 traccar-server-d2119238ae75b7a6cf462c223b6017d3b37909ad.zip |
Begin simple web app implementation
-rw-r--r-- | src/org/traccar/web/WebServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java index 8201f8d16..4dd37f4cc 100644 --- a/src/org/traccar/web/WebServer.java +++ b/src/org/traccar/web/WebServer.java @@ -102,7 +102,7 @@ public class WebServer { ResourceHandler resourceHandler = new ResourceHandler(); resourceHandler.setResourceBase(config.getString("web.path")); if (config.getBoolean("web.debug")) { - resourceHandler.setWelcomeFiles(new String[] {"debug.html"}); + resourceHandler.setWelcomeFiles(new String[] {"debug.html", "index.html"}); resourceHandler.setMinMemoryMappedContentLength(-1); // avoid locking files on Windows } else { resourceHandler.setWelcomeFiles(new String[] {"release.html", "index.html"}); |