mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 18:00:05 +00:00
auth middleware basepath tweaks
This commit is contained in:
@@ -23,7 +23,7 @@ func (s *Server) handler() http.Handler {
|
||||
a := &authMiddleware{
|
||||
username: s.Username,
|
||||
password: s.Password,
|
||||
basepath: BasePath,
|
||||
basepath: BasePath + "/",
|
||||
public: BasePath + "/static",
|
||||
}
|
||||
r.Use(a.handler)
|
||||
|
Reference in New Issue
Block a user