router_static.go: redirect / to login
This commit is contained in:
parent
11fdecb8cc
commit
31d965bf12
@ -88,5 +88,7 @@ func initStaticRouter(router *mux.Router) error {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
router.HandleFunc("/", redirectLogin)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user