From 52ed3de7949a0caca3d6b93955d49513e68c14c3 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 21 Jun 2021 15:49:14 +0200 Subject: The info endpoint only responds with the title & about --- packages/server/src/api/v1.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/api/v1.ts b/packages/server/src/api/v1.ts index b0e595d..5b0e7b9 100644 --- a/packages/server/src/api/v1.ts +++ b/packages/server/src/api/v1.ts @@ -17,7 +17,7 @@ export default function(fastify: FastifyInstance, opts: FastifyPluginOptions, do method: "GET", url: "/info", handler: (req, reply) => { - reply.send({ data: opts.config.settings }); + reply.send({ data: { title: opts.config.settings.title, about: opts.config.settings.about } }); } }); fastify.route({ -- cgit v1.2.3-18-g5258