feat: add ability to log and display sanctions

This commit is contained in:
2025-08-25 15:55:48 -07:00
parent a9126ec826
commit 908f22d6aa
17 changed files with 19018 additions and 6 deletions
+2
View File
@@ -11,6 +11,7 @@ import { ipHook } from "./hooks/ips.js";
import { announcementRoutes } from "./routes/announcement.js";
import { baseRoutes } from "./routes/base.js";
import { mcpRoutes } from "./routes/mcp.js";
import { sanctionRoutes } from "./routes/sanction.js";
import { logger } from "./utils/logger.js";
const server = fastify({
@@ -34,6 +35,7 @@ server.addHook("preHandler", ipHook);
server.register(baseRoutes);
server.register(announcementRoutes);
server.register(mcpRoutes);
server.register(sanctionRoutes);
server.listen({ port: 20_000 }, (error) => {
if (error) {