refactor(auth): standardize session management and security

- Centralize secret retrieval using `getAdminSessionSecret`
- Replace manual session parsing with `verifyRequestAdminSession` utility
- Tighten API validation and improve security headers handling
- Enforce environment variable security for production deployments
This commit is contained in:
Team Dark Devil committed 2026-11-18 05:18:55 +06:00
1 parent 34519c07df
commit 177ed4a844
78 files changed
+6748 -3157

No files matched your search

+16 -6
View File
@@ -1,21 +1,31 @@
{
"name": "DataStack - Realtime Data Platform",
"id": "/",
"name": "DataStack - Realtime Data Collection Platform",
"short_name": "DataStack",
"description": "Self-hosted universal realtime data collection engine",
"description": "Self-hosted universal realtime data collection engine with Socket.IO ingestion, Redis buffer, JWT client auth, CSV batch rotation, and /vcon/ admin panel.",
"start_url": "/vcon/dashboard",
"scope": "/",
"display": "standalone",
"background_color": "#0b0f17",
"theme_color": "#2563eb",
"background_color": "#0a0a0b",
"theme_color": "#0a0a0b",
"icons": [
{
"src": "/icon-192.png",
"sizes": "192x192",
"type": "image/png"
"type": "image/png",
"purpose": "any"
},
{
"src": "/icon-512.png",
"sizes": "512x512",
"type": "image/png"
"type": "image/png",
"purpose": "any"
},
{
"src": "/icon-maskable-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
]
}