aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-15 00:03:36 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-15 00:03:57 +1300
commitd2119238ae75b7a6cf462c223b6017d3b37909ad (patch)
tree83962be31eb23666b8951e42daf9f14c9aff2e41 /src
parent1a3b3b1dd599a2f00a19987e7db4e522b8a62fc5 (diff)
downloadtrackermap-server-d2119238ae75b7a6cf462c223b6017d3b37909ad.tar.gz
trackermap-server-d2119238ae75b7a6cf462c223b6017d3b37909ad.tar.bz2
trackermap-server-d2119238ae75b7a6cf462c223b6017d3b37909ad.zip
Begin simple web app implementation
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/web/WebServer.java2
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"});