|
@@ -131,8 +131,8 @@ func TestAPIRoutesDocumented(t *testing.T) {
|
|
|
// Skip SPA page routes (these are UI pages, not API endpoints)
|
|
// Skip SPA page routes (these are UI pages, not API endpoints)
|
|
|
spaPages := map[string]bool{
|
|
spaPages := map[string]bool{
|
|
|
"/": true, "/panel/": true, "/panel/inbounds": true,
|
|
"/": true, "/panel/": true, "/panel/inbounds": true,
|
|
|
- "/panel/clients": true,
|
|
|
|
|
- "/panel/nodes": true, "/panel/settings": true,
|
|
|
|
|
|
|
+ "/panel/clients": true, "/panel/groups": true,
|
|
|
|
|
+ "/panel/nodes": true, "/panel/settings": true,
|
|
|
"/panel/xray": true, "/panel/api-docs": true,
|
|
"/panel/xray": true, "/panel/api-docs": true,
|
|
|
}
|
|
}
|
|
|
if spaPages[r.Path] {
|
|
if spaPages[r.Path] {
|