Skip to content

Commit

Permalink
Make it easier to understand by removing an Effect layer
Browse files Browse the repository at this point in the history
Refs #1834
  • Loading branch information
thewilkybarkid committed Aug 28, 2024
1 parent 3ef035e commit 504440e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pipe(
}),
),
Layer.scopedDiscard,
Layer.provide(Layer.sync(Express, () => expressServer)),
Layer.launch,
Effect.provideService(Express, expressServer),
NodeRuntime.runMain,
)

0 comments on commit 504440e

Please sign in to comment.