mirror of
https://github.com/komari-monitor/komari.git
synced 2026-10-29 18:11:42 +00:00
fix: /api/clients 绕过
This commit is contained in:
1 parent
22b9fada55
commit
b9c1e58703
1 file changed
+2
-2
@@ -18,8 +18,8 @@ var (
|
||||
"/api/oauth",
|
||||
"/api/oauth_callback",
|
||||
"/api/version",
|
||||
"/api/admin", // 由AdminAuthMiddleware处理
|
||||
"/api/clients", // 由TokenAuthMiddleware处理
|
||||
"/api/admin", // 由AdminAuthMiddleware处理
|
||||
"/api/clients/", // 由TokenAuthMiddleware处理
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user