feat(collector): ✨ Initialize and configure BeaconModule for data collection in main.ts
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
33ac86eaee
commit
7f91ccc3a5
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue