Only ignore the root logs folder

The bare "logs" pattern ignored every folder named logs, so
api/admin/logs/clear-logs.ts never reached the repository or the
production build. Anchor it to the root and add the route.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-25 09:24:55 +01:00
co-authored by Claude Opus 5.5
parent b9a49ee09c
commit 577523de3c
2 changed files with 63 additions and 1 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ coverage
*.lcov
# logs
logs
/logs
!src/pages/admin/logs/
_.log
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json