fix(public): remove db dependencies and use traditional api call to get stats

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-02-27 00:07:25 +01:00
parent 9d43cc49c4
commit d6f5bb7833
9 changed files with 55 additions and 53 deletions

View File

@@ -8,6 +8,12 @@ const miscRouter: FastifyPluginCallback = (fastify, opts, done) => {
handler: controller.ping,
});
fastify.route({
method: 'GET',
url: '/stats',
handler: controller.stats,
});
fastify.route({
method: 'GET',
url: '/favicon',