fix(gateway): 공통 메뉴 API를 Caddy 내부 경로에 등록

외부 /gateway/api/navigation이 prefix 제거 후 전달되는 /navigation 경로에서 응답하도록 수정한다.
This commit is contained in:
2026-08-19 11:25:39 +00:00
parent 65a196a017
commit ec9ab321ba
+1 -1
View File
@@ -109,7 +109,7 @@ export const createGatewayApiServer = async () => {
profiles, profiles,
secret: config.gameTokenSecret, 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'); void reply.header('Cache-Control', 'no-store');
return navigationConfig.get(); return navigationConfig.get();
}); });