aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/WebServer.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-24 22:05:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-24 22:05:02 +1200
commitad9c5429f44f0558a13900da36279ee23e19fa8c (patch)
treef9ba2185c041b8f531b13a01bab1954df3233696 /src/org/traccar/web/WebServer.java
parentea8a50d6c6d2bfdf9b43cab08769be6866564b9e (diff)
downloadtrackermap-server-ad9c5429f44f0558a13900da36279ee23e19fa8c.tar.gz
trackermap-server-ad9c5429f44f0558a13900da36279ee23e19fa8c.tar.bz2
trackermap-server-ad9c5429f44f0558a13900da36279ee23e19fa8c.zip
Fallback to index html page
Diffstat (limited to 'src/org/traccar/web/WebServer.java')
-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 38345ffe7..3eb0fee07 100644
--- a/src/org/traccar/web/WebServer.java
+++ b/src/org/traccar/web/WebServer.java
@@ -88,7 +88,7 @@ public class WebServer {
if (config.getBoolean("web.debug")) {
resourceHandler.setWelcomeFiles(new String[] { "debug.html" });
} else {
- resourceHandler.setWelcomeFiles(new String[] { "release.html" });
+ resourceHandler.setWelcomeFiles(new String[] { "release.html", "index.html" });
}
HandlerList handlerList = new HandlerList();