Change server port to match tutorial

This commit is contained in:
Igor Dunaev 2023-12-09 22:34:10 +03:00
parent 5127e9ba78
commit 80e7bbbad8

View File

@ -32,7 +32,7 @@ fun HTML.index() {
} }
fun main() { fun main() {
embeddedServer(Netty, port = 8081, host = "127.0.0.1") { embeddedServer(Netty, port = 8080, host = "127.0.0.1") {
routing { routing {
get("/") { get("/") {
call.respondHtml(HttpStatusCode.OK, HTML::index) call.respondHtml(HttpStatusCode.OK, HTML::index)