From 6cb0be97b1b8963dadc7860ece9a0a552fc51dcc Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Thu, 2 Nov 2023 11:38:49 +0300 Subject: [PATCH] apps/api: proxy only GET --- apps/api/src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/main.ts b/apps/api/src/main.ts index c1fc294..00dabb6 100644 --- a/apps/api/src/main.ts +++ b/apps/api/src/main.ts @@ -35,6 +35,7 @@ async function bootstrap() { await app.register(proxy, { http2: false, + httpMethods: ['GET'], upstream: `http://${env.WEB_SERVER}`, });