From ec9ab321ba75a8929a8bb34596904ed166a8fb8f Mon Sep 17 00:00:00 2001 From: hided62 Date: Wed, 19 Aug 2026 11:25:39 +0000 Subject: [PATCH] =?UTF-8?q?fix(gateway):=20=EA=B3=B5=ED=86=B5=20=EB=A9=94?= =?UTF-8?q?=EB=89=B4=20API=EB=A5=BC=20Caddy=20=EB=82=B4=EB=B6=80=20?= =?UTF-8?q?=EA=B2=BD=EB=A1=9C=EC=97=90=20=EB=93=B1=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 외부 /gateway/api/navigation이 prefix 제거 후 전달되는 /navigation 경로에서 응답하도록 수정한다. --- app/gateway-api/src/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gateway-api/src/server.ts b/app/gateway-api/src/server.ts index b1a3f9df..056120af 100644 --- a/app/gateway-api/src/server.ts +++ b/app/gateway-api/src/server.ts @@ -109,7 +109,7 @@ export const createGatewayApiServer = async () => { profiles, secret: config.gameTokenSecret, }); - app.get(config.trpcPath.replace(/\/trpc\/?$/u, '/navigation'), async (_request, reply) => { + app.get('/navigation', async (_request, reply) => { void reply.header('Cache-Control', 'no-store'); return navigationConfig.get(); });