From f7cfa7d7fa030630b86d6d0792dbd44d4e10f801 Mon Sep 17 00:00:00 2001 From: akuma06 Date: Sun, 7 May 2017 00:27:26 +0200 Subject: [PATCH] Fixed Typo --- router/router.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/router/router.go b/router/router.go index f2b14ba8..b184ac25 100644 --- a/router/router.go +++ b/router/router.go @@ -14,9 +14,9 @@ func init() { cssHandler := http.FileServer(http.Dir("./public/css/")) jsHandler := http.FileServer(http.Dir("./public/js/")) imgHandler := http.FileServer(http.Dir("./public/img/")) - http.Handle("/css/", http.StripPrefix("/public/css/", cssHandler)) - http.Handle("/js/", http.StripPrefix("/public/js/", jsHandler)) - http.Handle("/img/", http.StripPrefix("/public/img/", imgHandler)) + http.Handle("/css/", http.StripPrefix("/css/", cssHandler)) + http.Handle("/js/", http.StripPrefix("/js/", jsHandler)) + http.Handle("/img/", http.StripPrefix("/img/", imgHandler)) // Routes, Router.HandleFunc("/", HomeHandler).Name("home")