Config fixes
All checks were successful
Lint / lint (push) Successful in 12s

This commit is contained in:
Julien Valverdé
2024-09-05 01:58:24 +02:00
parent f562a1f334
commit ca10286e1f
3 changed files with 15 additions and 15 deletions

View File

@@ -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 => {