Improve log and GH token validation

This commit is contained in:
tdurieux
2024-04-27 16:19:33 +01:00
parent 6476899764
commit 2a145730b7
4 changed files with 27 additions and 10 deletions
+1 -1
View File
@@ -58,8 +58,8 @@ router.get(
// cache the file for 5min
res.header("Cache-Control", "max-age=300");
}
await repo.countView();
await f.send(res);
await repo.countView();
} catch (error) {
return handleError(error, res, req);
}