fix(api-docs): exclude /panel/outbound and /panel/routing from route guard

718b7e16 added these top-level SPA page routes in spa.go but didn't add them to the TestAPIRoutesDocumented skip-list, so the guard flagged them as undocumented and failed CI on main. Like the other /panel/* page routes they serve the SPA, not a JSON API, so they belong in the skip-list rather than endpoints.ts.
This commit is contained in:
MHSanaei
2026-06-22 23:48:58 +02:00
parent ce8b1bed77
commit 683653674c
+2 -1
View File
@@ -133,7 +133,8 @@ func TestAPIRoutesDocumented(t *testing.T) {
"/": true, "/panel/": true, "/panel/inbounds": true,
"/panel/clients": true, "/panel/groups": true,
"/panel/nodes": true, "/panel/settings": true,
"/panel/xray": true, "/panel/api-docs": true,
"/panel/xray": true, "/panel/outbound": true,
"/panel/routing": true, "/panel/api-docs": true,
}
if spaPages[r.Path] {
continue