Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-sa authored Aug 15, 2024
1 parent 42142f5 commit 0f8dec8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions api-gateway/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

0 comments on commit 0f8dec8

Please sign in to comment.