0.1.17 #18

Merged
Thilawyn merged 37 commits from next into master 2024-09-07 20:56:30 +02:00
Showing only changes of commit df8cc36304 - Show all commits

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 = (