Skip to content

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

Fix: Mintlify docs defaulting to localhost endpoint

Daniel Hougaard3c91e1127f5a
diff --git a/backend/src/server/plugins/swagger.ts b/backend/src/server/plugins/swagger.ts
index 1eb1a0f4ec..2d7e6706ca 100644
--- a/backend/src/server/plugins/swagger.ts
+++ b/backend/src/server/plugins/swagger.ts
@@ -14,13 +14,13 @@ export const fastifySwagger = fp(async (fastify) => {
version: "0.0.1"
},
servers: [
- {
- url: "http://localhost:8080",
- description: "Local server"
- },
{
url: "https://app.infisical.com",
description: "Production server"
+ },
+ {
+ url: "http://localhost:8080",
+ description: "Local server"
}
],
components: {