Skip to content

Commit 5af7286

Browse files
authored
Fix monitoring.js 404 by adding route to global prefix exclusion (#131)
1 parent 2382ca1 commit 5af7286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async function bootstrap() {
2828

2929
app.use('*', json({ type: 'application/json', limit: '10mb' }));
3030

31-
app.setGlobalPrefix(Config.version, { exclude: ['', '.well-known/(.*)', 'monitoring', 'monitoring/data'] });
31+
app.setGlobalPrefix(Config.version, { exclude: ['', '.well-known/(.*)', 'monitoring', 'monitoring/data', 'monitoring/monitoring.js'] });
3232
app.useGlobalPipes(new ValidationPipe({ whitelist: true }));
3333
app.useGlobalFilters(new ApiExceptionFilter());
3434

0 commit comments

Comments
 (0)