MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / toolsRouter

Function toolsRouter

apps/api/src/routes/tools.router.ts:4–18  ·  view source on GitHub ↗
(fastify)

Source from the content-addressed store, hash-verified

2import type { FastifyPluginCallback } from 'fastify';
3
4const 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
20export default toolsRouter;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected