aboutsummaryrefslogtreecommitdiff
path: root/packages/server/src/api/v1.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/server/src/api/v1.ts')
-rw-r--r--packages/server/src/api/v1.ts2
1 files changed, 1 insertions, 1 deletions
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({