SSE 헤더 인증과 연결 수명 검증 및 HTTP 오류 정보 보호

This commit is contained in:
Hide_D committed 2026-10-09 02:35:45 +09:00
1 parent 87f810a878
commit 9dceaf8e4e
22 files changed
+1023 -170

No files matched your search

+2 -1
View File
@@ -1,8 +1,9 @@
import { safeTrpcErrorFormatter } from '@sammo-ts/common';
import { initTRPC } from '@trpc/server';
import type { GatewayApiContext } from './context.js';
const t = initTRPC.context<GatewayApiContext>().create();
const t = initTRPC.context<GatewayApiContext>().create({ errorFormatter: safeTrpcErrorFormatter });
export const router = t.router;
export const procedure = t.procedure;