Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

remove unused route

Carl-Gerhard Lindesvärd0cb87b0279d7
diff --git a/apps/api/src/routes/event.router.ts b/apps/api/src/routes/event.router.ts
index b48f2cb2a..c48e1e50f 100644
--- a/apps/api/src/routes/event.router.ts
+++ b/apps/api/src/routes/event.router.ts
@@ -55,11 +55,6 @@ const eventRouter: FastifyPluginCallback = (fastify, opts, done) => {
url: '/',
handler: controller.postEvent,
});
- fastify.route({
- method: 'GET',
- url: '/',
- handler: controller.postEvent,
- });
done();
};