diff --git a/routers/routers.go b/routers/routers.go index 3bfa014..49c5ff3 100644 --- a/routers/routers.go +++ b/routers/routers.go @@ -239,6 +239,7 @@ func urlAuth(ctx *macaron.Context, sess session.Store) { "/user/login", "/user/logout", "/user/editMyPassword", + "/api", } uri := strings.TrimSpace(ctx.Req.URL.Path) uri = strings.TrimRight(uri, "/")