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

This commit is contained in:
Julien Valverdé
2024-09-05 00:47:24 +02:00
parent c178ee0ea7
commit df8cc36304

View File

@@ -15,7 +15,7 @@ const importNodeHTTP = Effect.tryPromise({
const serverListeningMessage = Match.type<AddressInfo | string | null>().pipe(
Match.when(Match.null, () => "HTTP server listening"),
Match.when(Match.string, v => `HTTP server listening on ${ v }`),
Match.orElse(v => `HTTP server listening on ${ v.address }:${ v.port }`),
Match.orElse(v => `HTTP server listening on ${ v.address === "::" ? "*" : v.address }:${ v.port }`),
)
export const ExpressNodeHTTPServerLive = (