INNER CODE UNIT · JavaScript
shouldSkip
ClickDevTech/CELERITY-panel · index.js:158
const shouldSkip = skipPaths.some(p => req.path.startsWith(p));
if (!shouldSkip) {
logger.debug(`${req.method} ${req.path}`);
}
next();
});
// ==================== HEALTH CHECK ====================
app.get('/health', async (req, res) => {
const cacheStats = await cacheService.getStats();
res.json({
status: 'ok',
uptime: process.uptime(),
lastSync: syncService.lastSyncTime,
isSyncing: syncService.isSyncing,