Difference Between `HttpServer.serve` and `HttpServer.serveEffect`
What is the difference between
I'm probably doing something wrong so let me know. I'll provide the code snippet in thread. Thank you!
HttpServer.serve and HttpServer.serveEffect — my understanding is the latter returns an effect instead of a layer. I'm trying to leverage that effect to retrieve the port of the running server and log it out but despite the log and port showing up on the logs, curl-ing the server fails for program2, the server isn't reachable but works for programI'm probably doing something wrong so let me know. I'll provide the code snippet in thread. Thank you!
