diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/http.go | 2 |
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) { |