fix so many requests
Build & Push / Pipeline Tests (push) Successful in 1m54s
Test / Type Check (all packages) (push) Successful in 52s
Build & Push / Build & Push Docker Image (push) Successful in 3m34s
Test / API Unit Tests (push) Successful in 1m13s
Test / Homepage Unit Tests (push) Successful in 48s
Test / Carplace Unit Tests (push) Successful in 42s
Test / Admin Unit Tests (push) Successful in 43s
Test / Dashboard Unit Tests (push) Successful in 43s
Test / API Integration Tests (push) Successful in 1m10s

This commit is contained in:
root
2026-08-13 00:13:43 -04:00
parent 8cd24bae10
commit 51ef1fb319
+4 -1
View File
@@ -270,7 +270,10 @@ export function createApp() {
app.use(`${v1}/auth/company`, authLimiter, companyAuthRouter)
app.use(`${v1}/auth/employee`, authLimiter, employeeAuthRouter)
app.use(`${v1}/admin/auth`, authLimiter)
app.use(`${v1}/admin/auth`, (req, res, next) => {
if (req.method === 'GET' && req.path === '/me') return next()
return authLimiter(req, res, next)
})
app.use(`${v1}/admin`, adminLimiter, adminRouter)
app.use(`${v1}/carplace`, publicLimiter, carplaceRouter)