mirror of
https://github.com/nkanaev/yarr.git
synced 2025-11-09 02:49:37 +00:00
router base
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user