fix(public): remove db dependencies and use traditional api call to get stats
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user