Merge pull request #1597 from Infisical/daniel/api-endpoint-fix

Fix: Mintlify interactive API docs defaulting to localhost server
This commit is contained in:
Akhil Mohan
2024-03-19 16:32:49 +05:30
committed by GitHub
+4 -4
View File
@@ -14,13 +14,13 @@ export const fastifySwagger = fp(async (fastify) => {
version: "0.0.1" version: "0.0.1"
}, },
servers: [ servers: [
{
url: "http://localhost:8080",
description: "Local server"
},
{ {
url: "https://app.infisical.com", url: "https://app.infisical.com",
description: "Production server" description: "Production server"
},
{
url: "http://localhost:8080",
description: "Local server"
} }
], ],
components: { components: {