Dev validation deleted

This commit is contained in:
2026-02-01 22:46:21 -06:00
parent 8ca10d0b35
commit 58a3efa55c

View File

@@ -155,13 +155,15 @@ router.use('/audit-logs', auditRoutes);
router.use('/notifications', notificationRoutes);
/**
* Test routes (for development/testing only):
* Test routes (ADMIN only):
* - POST /test/create-negative-flow-meter - Create test meter with negative flow
* - POST /test/trigger-negative-flow - Manually trigger negative flow detection
* - GET /test/negative-flow-meters - Get meters with negative flow
* - GET /test/notifications-info - Get notifications system info
* - DELETE /test/cleanup-test-data - Clean up test data
*
* Note: All test endpoints require ADMIN role authentication
*/
if (process.env.NODE_ENV === 'development') {
router.use('/test', testRoutes);
}
export default router;