From 9d31234ca1882f58c6046e8f6897a39a77b1e6a7 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 4 Aug 2012 17:54:50 +0400 Subject: Modify directory structure --- src/org/traccar/http/WebServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/org/traccar/http/WebServer.java') 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]; -- cgit v1.2.3