blob: 5ce8a83e768536c9191f0d4a156af1df001dce5d (
plain) (
tree)
|
|
package dotty.tools.bot
import org.http4s.server.{ Server, ServerApp }
import org.http4s.server.blaze._
import scalaz.concurrent.Task
object Main extends ServerApp with PullRequestService {
/** Services mounted to the server */
final val services = prService
override def server(args: List[String]): Task[Server] =
BlazeBuilder
.bindHttp(8080, "localhost")
.mountService(services, "/api")
.start
}
|