From 504440e44f904f7eb5262d9ba2389a8c9368b69c Mon Sep 17 00:00:00 2001 From: Chris Wilkinson Date: Wed, 28 Aug 2024 13:06:48 +0100 Subject: [PATCH] Make it easier to understand by removing an Effect layer Refs #1834 --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 52bfb8b9d..d39e7e1ef 100644 --- a/src/index.ts +++ b/src/index.ts @@ -143,7 +143,7 @@ pipe( }), ), Layer.scopedDiscard, - Layer.provide(Layer.sync(Express, () => expressServer)), Layer.launch, + Effect.provideService(Express, expressServer), NodeRuntime.runMain, )