From 8c487f823a7c40c7777f4a09b66f5f35e61889e8 Mon Sep 17 00:00:00 2001 From: Darius Date: Sun, 23 Nov 2025 02:24:33 +0100 Subject: [PATCH] Generic Commit; Most likely a fix or small feature --- src/index.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index f1165ca..d18bb3d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -31,7 +31,10 @@ await fastify.register(fastifySwagger, { description: "API Documentation", version: "1.0.0", }, - servers: [{ url: "http://localhost:8080", description: "Development" }], + servers: [ + { url: "http://localhost:8080/api", description: "dev" }, + { url: "https://dpu.dariusbag.dev/api", description: "prod" }, + ], }, transform: jsonSchemaTransform, }); @@ -107,5 +110,3 @@ fastify.listen({ port: port, host: "0.0.0.0" }, (err, address) => { } console.log(`Server listening at ${address}`); }); - -console.log(`API docs available at http://localhost:${port}/docs`);