Remove api logging for health check
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user