This commit is contained in:
@@ -36,15 +36,15 @@ export const ExpressNodeHTTPServerLive = (
|
||||
const http = yield* importNodeHTTP
|
||||
|
||||
const options = {
|
||||
backlog: yield* config.backlog || Config.succeed(undefined),
|
||||
exclusive: yield* config.exclusive || Config.succeed(undefined),
|
||||
host: yield* config.host || Config.succeed(undefined),
|
||||
ipv6Only: yield* config.ipv6Only || Config.succeed(undefined),
|
||||
path: yield* config.path || Config.succeed(undefined),
|
||||
port: yield* config.port || Config.succeed(undefined),
|
||||
readableAll: yield* config.readableAll || Config.succeed(undefined),
|
||||
backlog: yield* config.backlog ?? Config.succeed(undefined),
|
||||
exclusive: yield* config.exclusive ?? Config.succeed(undefined),
|
||||
host: yield* config.host ?? Config.succeed(undefined),
|
||||
ipv6Only: yield* config.ipv6Only ?? Config.succeed(undefined),
|
||||
path: yield* config.path ?? Config.succeed(undefined),
|
||||
port: yield* config.port ?? Config.succeed(undefined),
|
||||
readableAll: yield* config.readableAll ?? Config.succeed(undefined),
|
||||
signal: config.signal,
|
||||
writableAll: yield* config.writableAll || Config.succeed(undefined),
|
||||
writableAll: yield* config.writableAll ?? Config.succeed(undefined),
|
||||
} as const
|
||||
|
||||
return yield* Effect.async<Server>(resume => {
|
||||
|
||||
Reference in New Issue
Block a user