From b693ec96a24076f1ae550c5a4ed5cc11ffa3405f Mon Sep 17 00:00:00 2001 From: Emile Date: Sat, 19 Oct 2019 18:30:10 +0200 Subject: landing page --- src/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit 1.4.1