From 7f91ccc3a50e0f35d1dd3faa907b83bda6fc6341 Mon Sep 17 00:00:00 2001 From: autocommit Date: Sat, 16 May 2026 18:57:18 -0700 Subject: [PATCH] =?UTF-8?q?feat(collector):=20=E2=9C=A8=20Initialize=20and?= =?UTF-8?q?=20configure=20BeaconModule=20for=20data=20collection=20in=20ma?= =?UTF-8?q?in.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- services/collector/src/main.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;