changes
Deploy Node App / deploy (push) Failing after 9s

This commit is contained in:
Gitea
2026-06-05 12:05:10 +05:30
parent 027501fe2d
commit efd947a1d4
+1 -1
View File
@@ -8,7 +8,7 @@ const authMiddleware = (req, res, next) => {
success: false,
message: 'Unauthorized: Missing or invalid token format'
});
}
}
const token = authHeader.split(' ')[1];
try {
const decoded = jwt.verify(token, JWT_SECRET);