(fastify)
| 2 | import type { FastifyPluginCallback } from 'fastify'; |
| 3 | |
| 4 | const toolsRouter: FastifyPluginCallback = async (fastify) => { |
| 5 | fastify.route({ |
| 6 | method: 'GET', |
| 7 | url: '/site-checker', |
| 8 | schema: { hide: true }, |
| 9 | handler: controller.siteChecker, |
| 10 | }); |
| 11 | |
| 12 | fastify.route({ |
| 13 | method: 'GET', |
| 14 | url: '/ip-lookup', |
| 15 | schema: { hide: true }, |
| 16 | handler: controller.ipLookup, |
| 17 | }); |
| 18 | }; |
| 19 | |
| 20 | export default toolsRouter; |
nothing calls this directly
no outgoing calls
no test coverage detected