feat: 환경 변수에 GAME_TRPC_PATH 및 GATEWAY_TRPC_PATH 추가, 관련 문서 업데이트

This commit is contained in:
2026-01-18 12:44:22 +00:00
parent 8c40b075e5
commit e1f21d3209
5 changed files with 9 additions and 4 deletions
@@ -418,8 +418,9 @@ describe('pm2 orchestrator e2e', () => {
const adminSessionRef: { value?: string } = {};
const accessTokenRef: { value?: string } = {};
const gatewayClient = createGatewayClient(gatewayUrl, gatewayServer.config.trpcPath, adminSessionRef);
const gameClientPublic = createGameClient(gameUrl, process.env.TRPC_PATH ?? '/trpc', { value: undefined });
const gameClientAuthed = createGameClient(gameUrl, process.env.TRPC_PATH ?? '/trpc', accessTokenRef);
const gameTrpcPath = process.env.GAME_TRPC_PATH ?? process.env.TRPC_PATH ?? '/trpc';
const gameClientPublic = createGameClient(gameUrl, gameTrpcPath, { value: undefined });
const gameClientAuthed = createGameClient(gameUrl, gameTrpcPath, accessTokenRef);
const bootstrap = await gatewayClient.auth.bootstrapLocal.mutate({
token: bootstrapToken,