fun main()

in run/ktor-hello-world/src/main/kotlin/WebApp.kt [38:41]


fun main() {
    val port = System.getenv("PORT")?.toInt() ?: 8080
    embeddedServer(CIO, port, watchPaths = listOf("build"), module = Application::module).start(true)
}