Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Cette révision appartient à :
akuma06 2017-05-07 00:27:26 +02:00
Parent 422d0f5ced
révision c738f62cb4

Voir le fichier

@ -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")