mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-10-02 13:39:48 +02:00
fix(security): cover privileged API root routes
This commit is contained in:
1 parent
930753d846
commit
21df433103
1 file changed
+2
@@ -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