Failing build

This commit is contained in:
2024-06-26 10:30:26 +02:00
parent f4a5d0a75b
commit 2cb2a0119c
6 changed files with 23 additions and 38 deletions

View File

@@ -9,7 +9,7 @@ fun main() {
}
val server = Undertow.builder()
.addHttpListener(Settings.port, "0.0.0.0")
.addHttpListener(Settings.port, "localhost")
.setIoThreads(4)
.setHandler(RequestHandler)
.setServerOption(UndertowOptions.SHUTDOWN_TIMEOUT, 1000)

View File

@@ -12,5 +12,4 @@ object RequestHandler : HttpHandler {
override fun handleRequest(exchange: HttpServerExchange) {
resourceHandler.handleRequest(exchange)
}
}