I just upgraded ktor, i now get that this ```val c...
# ktor
f
I just upgraded ktor, i now get that this
Copy code
val config = HoconApplicationConfig(ConfigFactory.load())
is an experimental API, what is the correct way to load the application,conf now?
d
Does
fun commandLineEnvironment(args: Array<String>): ApplicationEngineEnvironment
work for you in your case or do you need more low level? Can’t you use an
EngineMain
like https://github.com/ktorio/ktor/blob/06a0c5e70688277df32dcd6c7a6deff30561409d/ktor-server/ktor-server-netty/src/io/ktor/server/netty/EngineMain.kt ?