feat(geo): make geo a package instead of service (#161)

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-06-06 05:56:54 +02:00
committed by GitHub
parent f59bcfba3c
commit 34414e1d3e
24 changed files with 677 additions and 112 deletions

View File

@@ -25,6 +25,12 @@ const miscRouter: FastifyPluginCallback = async (fastify) => {
url: '/favicon/clear',
handler: controller.clearFavicons,
});
fastify.route({
method: 'GET',
url: '/geo',
handler: controller.getGeo,
});
};
export default miscRouter;