diff --git a/services/collector/src/main.ts b/services/collector/src/main.ts index 57bc18d..a8c5e1e 100644 --- a/services/collector/src/main.ts +++ b/services/collector/src/main.ts @@ -35,7 +35,10 @@ async function bootstrap() { // Global prefix — aligns with @lilith/analytics-client which POSTs to /analytics/track/* // Health endpoint excluded so Docker healthchecks can hit /health directly app.setGlobalPrefix('analytics', { - exclude: [{ path: 'health', method: RequestMethod.GET }], + exclude: [ + { path: 'health', method: RequestMethod.GET }, + { path: 'beacon.js', method: RequestMethod.GET }, + ], }); const port = process.env['PORT'] || 4001;