aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/http/WebServer.java
diff options
context:
space:
mode:
authorwilliamchitto <williamchitto@gmail.com>2012-08-06 11:41:33 -0300
committerwilliamchitto <williamchitto@gmail.com>2012-08-06 11:41:33 -0300
commit8524c56fafb4a9da0a3c33f972b134e8c50c8489 (patch)
tree68828cc57a74fb94672a4879f4397ac5e678d094 /src/org/traccar/http/WebServer.java
parent5a80591e29ee7b05ed50737e3d5d6bb98c1f59a3 (diff)
parent07a1959bad3d024d79b10a98c306a6bb4385b5df (diff)
downloadtrackermap-server-8524c56fafb4a9da0a3c33f972b134e8c50c8489.tar.gz
trackermap-server-8524c56fafb4a9da0a3c33f972b134e8c50c8489.tar.bz2
trackermap-server-8524c56fafb4a9da0a3c33f972b134e8c50c8489.zip
Repo merged with upstream
Diffstat (limited to 'src/org/traccar/http/WebServer.java')
-rw-r--r--src/org/traccar/http/WebServer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/http/WebServer.java b/src/org/traccar/http/WebServer.java
index cf7b21623..6c79e6421 100644
--- a/src/org/traccar/http/WebServer.java
+++ b/src/org/traccar/http/WebServer.java
@@ -55,7 +55,7 @@ public class WebServer {
response.setContentType("text/html");
- InputStream in = this.getClass().getClassLoader().getResourceAsStream("index.html");
+ InputStream in = this.getClass().getClassLoader().getResourceAsStream("web/index.html");
OutputStream out = response.getOutputStream();
byte[] buffer = new byte[BUFFER_SIZE];
@@ -71,7 +71,7 @@ public class WebServer {
response.setContentType("image/x-icon");
- InputStream in = this.getClass().getClassLoader().getResourceAsStream("favicon.ico");
+ InputStream in = this.getClass().getClassLoader().getResourceAsStream("web/favicon.ico");
OutputStream out = response.getOutputStream();
byte[] buffer = new byte[BUFFER_SIZE];