feat(geo): make geo a package instead of service (#161)
This commit is contained in:
committed by
GitHub
parent
f59bcfba3c
commit
34414e1d3e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user