Fixed Typo
Cette révision appartient à :
Parent
3390697686
révision
f7cfa7d7fa
1 fichiers modifiés avec 3 ajouts et 3 suppressions
|
@ -14,9 +14,9 @@ func init() {
|
||||||
cssHandler := http.FileServer(http.Dir("./public/css/"))
|
cssHandler := http.FileServer(http.Dir("./public/css/"))
|
||||||
jsHandler := http.FileServer(http.Dir("./public/js/"))
|
jsHandler := http.FileServer(http.Dir("./public/js/"))
|
||||||
imgHandler := http.FileServer(http.Dir("./public/img/"))
|
imgHandler := http.FileServer(http.Dir("./public/img/"))
|
||||||
http.Handle("/css/", http.StripPrefix("/public/css/", cssHandler))
|
http.Handle("/css/", http.StripPrefix("/css/", cssHandler))
|
||||||
http.Handle("/js/", http.StripPrefix("/public/js/", jsHandler))
|
http.Handle("/js/", http.StripPrefix("/js/", jsHandler))
|
||||||
http.Handle("/img/", http.StripPrefix("/public/img/", imgHandler))
|
http.Handle("/img/", http.StripPrefix("/img/", imgHandler))
|
||||||
|
|
||||||
// Routes,
|
// Routes,
|
||||||
Router.HandleFunc("/", HomeHandler).Name("home")
|
Router.HandleFunc("/", HomeHandler).Name("home")
|
||||||
|
|
Référencer dans un nouveau ticket