Re: 404

Date: 2020-09-09 12:32 am (UTC)
dennisgorelik: 2020-06-13 in my home office (Default)
From: [personal profile] dennisgorelik
Github shows your code now:
...
  def run(): Unit = {
    val https: HttpsConnectionContext = httpsContext
    val handler: Flow[HttpRequest, HttpResponse, Any] = route

    Http().bindAndHandle(handler, "0.0.0.0", port, httpsContext)
      .onComplete {
        case Success(ServerBinding(address)) => logger.info(s"Listening on $address")
        case Failure(cause) => logger.info(s"Can't bind to localhost:$port: $cause")
      }

    logger.info(s"Running HTTPS on port $port...")
  }
...
Edited Date: 2020-09-09 12:33 am (UTC)

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

June 2025

S M T W T F S
1 2345 6 7
8 9 10 11 121314
15161718 1920 21
222324252627 28
2930     

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 29th, 2025 05:49 am
Powered by Dreamwidth Studios