router base
This commit is contained in:
parent
c8bc511e04
commit
9bf7f45354
3 changed files with 59 additions and 26 deletions
|
|
@ -16,7 +16,7 @@ import (
|
|||
)
|
||||
|
||||
func (s *Server) handler() http.Handler {
|
||||
r := router.NewRouter()
|
||||
r := router.NewRouter(BasePath)
|
||||
|
||||
// TODO: auth, base, security
|
||||
if s.Username != "" && s.Password != "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue