Change server port to match tutorial
This commit is contained in:
parent
5127e9ba78
commit
80e7bbbad8
@ -32,7 +32,7 @@ fun HTML.index() {
|
||||
}
|
||||
|
||||
fun main() {
|
||||
embeddedServer(Netty, port = 8081, host = "127.0.0.1") {
|
||||
embeddedServer(Netty, port = 8080, host = "127.0.0.1") {
|
||||
routing {
|
||||
get("/") {
|
||||
call.respondHtml(HttpStatusCode.OK, HTML::index)
|
||||
|
Loading…
Reference in New Issue
Block a user