Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: resolved failing swagger

=f52312e9afb1
diff --git a/backend/src/server/plugins/swagger.ts b/backend/src/server/plugins/swagger.ts
index c95672104b..a49922f5e0 100644
--- a/backend/src/server/plugins/swagger.ts
+++ b/backend/src/server/plugins/swagger.ts
@@ -41,7 +41,6 @@ export const fastifySwagger = fp(async (fastify) => {
});
await fastify.register(swaggerUI, {
- routePrefix: "/api/docs",
- prefix: "/api/docs"
+ routePrefix: "/api/docs"
});
});