mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-07-06 18:20:15 +00:00
feat: init swagger
This commit is contained in:
@@ -44,7 +44,7 @@ func (m *UIMiddleware) Middleware() gin.HandlerFunc {
|
||||
path := strings.TrimPrefix(c.Request.URL.Path, "/")
|
||||
|
||||
switch strings.SplitN(path, "/", 2)[0] {
|
||||
case "api", "resources", ".well-known", "authorize":
|
||||
case "api", "resources", ".well-known", "authorize", "swagger":
|
||||
c.Next()
|
||||
return
|
||||
case "robots.txt":
|
||||
|
||||
Reference in New Issue
Block a user