From 0f8dec81bec331a00551c2c8f3427f0742aae03a Mon Sep 17 00:00:00 2001 From: "Marcus S. Abildskov" <8391194+marcus-sa@users.noreply.github.com> Date: Thu, 15 Aug 2024 11:12:10 +0200 Subject: [PATCH] Update main.ts --- api-gateway/src/main.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/api-gateway/src/main.ts b/api-gateway/src/main.ts index 7389cd1..6a77fb2 100644 --- a/api-gateway/src/main.ts +++ b/api-gateway/src/main.ts @@ -24,12 +24,5 @@ void new App({ new RestaurantModule(), ], }) - .setup((module, config: ApiGatewayConfig) => { - module.getImportedModuleByClass(FrameworkModule).configure(config.server); - - module.getImportedModuleByClass(RestateModule).configure({ - ingress: config.restate.ingress, - }); - }) .loadConfigFromEnv({ prefix: '' }) .run();