about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-19 18:30:10 +0200
committerEmile <hanemile@protonmail.com>2019-10-19 18:30:10 +0200
commitb693ec96a24076f1ae550c5a4ed5cc11ffa3405f (patch)
treef75485c3864dff9ac276340cb6c855fa660c6b0f /src
parent47e06e8de9cc6a55791fd5b1cea14f97a245bab2 (diff)
landing page
Diffstat (limited to 'src')
-rw-r--r--src/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.go b/src/http.go
index 630f9a6..5f137cd 100644
--- a/src/http.go
+++ b/src/http.go
@@ -39,7 +39,7 @@ func setupHTTPServer() http.Server {
 
 // Host the index file
 func indexHandler(w http.ResponseWriter, r *http.Request) {
-	fmt.Fprintf(w, "%s", "Hello World!\n")
+	readFileToResponse(w, "/index.html")
 }
 
 func createGetHandler(w http.ResponseWriter, r *http.Request) {