UP
This commit is contained in:
parent
a3a58987f0
commit
dddf56a2d6
@ -63,6 +63,8 @@ func RoutesPublic(r *mux.Router, bd *gorm.DB) {
|
|||||||
r.PathPrefix("/templates/assets/").Handler(
|
r.PathPrefix("/templates/assets/").Handler(
|
||||||
http.StripPrefix("/templates/assets/", http.FileServer(http.Dir(staticDir))),
|
http.StripPrefix("/templates/assets/", http.FileServer(http.Dir(staticDir))),
|
||||||
)
|
)
|
||||||
|
r.PathPrefix("/static/").Handler(
|
||||||
|
http.StripPrefix("/static/", http.FileServer(http.Dir("./static"))))
|
||||||
|
|
||||||
// Page de login
|
// Page de login
|
||||||
r.HandleFunc("/login", renders.Login)
|
r.HandleFunc("/login", renders.Login)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user