diff --git a/src/app.ts b/src/app.ts index debf2db..3109aa9 100644 --- a/src/app.ts +++ b/src/app.ts @@ -30,8 +30,7 @@ export default function (keycloakConfig: KeycloakConfig): Application { app.get('/', statusEndpoint); // endpoints to generate the reports - //app.use('/reports', keycloak.protect(), reportsEndpoint()); - app.use('/reports', reportsEndpoint()); //TODO====================== + app.use('/reports', keycloak.protect(), reportsEndpoint()); app.use(globalErrorLogger, unknownEndpointHandler, globalErrorHandler);