fix(security): cover privileged API root routes

This commit is contained in:
Shadowbroker
2026-08-17 01:09:53 -06:00
parent 930753d846
commit 21df433103
+2
View File
@@ -46,7 +46,9 @@ function isPrivilegedApiPath(pathname: string): boolean {
path === '/api/ais/feed' ||
path === '/api/mesh/infonet/ingest' ||
path === '/api/mesh/meshtastic/send' ||
path === '/api/wormhole' ||
path.startsWith('/api/wormhole/') ||
path === '/api/settings' ||
path.startsWith('/api/settings/') ||
path.startsWith('/api/ai/') ||
path === '/api/ai' ||