refactor: use scalar instead of swagger for frontend

This commit is contained in:
Stavros
2026-07-04 17:56:37 +03:00
parent dcb503b3be
commit c10c33c664
5 changed files with 16 additions and 52 deletions
+1 -1
View File
@@ -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", "swagger":
case "api", "resources", ".well-known", "authorize", "scalar":
c.Next()
return
case "robots.txt":