refactor: update role and validation handling across multiple pages

This commit is contained in:
Mauricio Siu
2025-02-16 03:06:22 -06:00
parent e7db0ccb70
commit 27736c7c97
16 changed files with 58 additions and 58 deletions

View File

@@ -1,9 +1,9 @@
import type http from "node:http";
import { validateRequest } from "@dokploy/server/index";
import { applyWSSHandler } from "@trpc/server/adapters/ws";
import { WebSocketServer } from "ws";
import { appRouter } from "../api/root";
import { createTRPCContext } from "../api/trpc";
import { validateRequest } from "@dokploy/server/index";
export const setupDrawerLogsWebSocketServer = (
server: http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>,