This commit is contained in:
seb
2026-10-31 21:02:53 +01:00
parent 5a0b603306
commit dd5c9646b3
23 changed files with 1462 additions and 223 deletions

View File

@@ -63,7 +63,7 @@ export const authMiddleware = async (req, res, next) => {
return next();
}
if (req.path.startsWith('/api/agent')) {
if (req.path === '/api/agent' || req.path.startsWith('/api/agent/')) {
return next();
}