mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-08-18 00:17:17 +02:00
fix(security): cover privileged API root routes
This commit is contained in:
@@ -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' ||
|
||||
|
||||
Reference in New Issue
Block a user