diff --git a/api/src/app/index.ts b/api/src/app/index.ts index ce1c5600f..ff2e2a1f6 100644 --- a/api/src/app/index.ts +++ b/api/src/app/index.ts @@ -62,7 +62,8 @@ const app: Application = createExpressServer(routingControllersOptions); const logger = Container.get(LoggerService); -app.use(robots({ UserAgent: "*", Disallow: "/" })); +// @TODO-ZM: move this to ./middlewares +app.use(robots({ UserAgent: "*", Disallow: "/docs" })); // Start it app.listen(PORT, () => {