Remove api logging for health check

This commit is contained in:
2026-06-29 21:55:06 +02:00
parent bebe3564d6
commit a6053855b8
+1 -1
View File
@@ -2,7 +2,7 @@ import { getUserSession } from '#imports';
export default defineEventHandler(async (event) => {
const { method, path } = event;
if (path.startsWith('/api/metrics')) {
if (path.startsWith('/api/metrics') || path.startsWith('/api/health')) {
return;
}
const { user } = await getUserSession(event);