bug: application.conf is ignored
lindenquan opened this issue · 1 comments
lindenquan commented
the port configuration is hard-coded, and the application.conf is ignored.
The following code would fix the issue
embeddedServer(Netty, commandLineEnvironment(args)).start(wait = true)
application.conf:
ktor {
deployment {
port = 8000
watch = [ build ]
}
application {
modules = [ MainKt.mainModule ]
}
}
raharrison commented
Thanks! Should be resolved now.