timer routes

This commit is contained in:
Oliver Bryan
2026-01-09 21:54:21 +00:00
parent f04baeb052
commit d6604d2843
9 changed files with 252 additions and 0 deletions

View File

@@ -66,6 +66,11 @@ const main = async () => {
"/projects/by-organisation": withCors(withAuth(routes.projectsByOrganisation)),
"/projects/all": withCors(withAuth(routes.projectsAll)),
"/projects/with-creators": withCors(withAuth(routes.projectsWithCreators)),
"/timer/toggle": withCors(withAuth(withCSRF(routes.timerToggle))),
"/timer/end": withCors(withAuth(withCSRF(routes.timerEnd))),
"/timer/get": withCors(withAuth(withCSRF(routes.timerGet))),
"/timers": withCors(withAuth(withCSRF(routes.timers))),
},
});