diff --git a/backend/services/admin-service/src/main.ts b/backend/services/admin-service/src/main.ts index 4cc5de66..5f6c1f61 100644 --- a/backend/services/admin-service/src/main.ts +++ b/backend/services/admin-service/src/main.ts @@ -7,11 +7,12 @@ async function bootstrap() { const logger = new Logger('Bootstrap') const app = await NestFactory.create(AppModule) - // Global prefix (exclude mobile API routes that need custom paths) + // Global prefix (exclude mobile API routes and downloads that need custom paths) app.setGlobalPrefix('api/v1', { exclude: [ { path: 'api/app/version/(.*)', method: RequestMethod.ALL }, { path: 'api/app/version/check', method: RequestMethod.GET }, + { path: 'downloads/(.*)', method: RequestMethod.GET }, ], })