removed excess comments

This commit is contained in:
2026-01-04 11:14:54 -05:00
parent b81de6441b
commit 7e89e6dda2
68 changed files with 72 additions and 941 deletions

View File

@@ -4,16 +4,11 @@ import { appRouter } from "~/server/api/root";
import { createTRPCContext } from "~/server/api/utils";
const handler = (event: APIEvent) => {
// adapts tRPC to fetch API style requests
return fetchRequestHandler({
// the endpoint handling the requests
endpoint: "/api/trpc",
// the request object
req: event.request,
// the router for handling the requests
router: appRouter,
// any arbitrary data that should be available to all actions
createContext: () => createTRPCContext(event),
createContext: () => createTRPCContext(event)
});
};