Alexander Suraphel
01/15/2022, 2:11 PMBig Chungus
01/15/2022, 2:25 PMAlexander Suraphel
01/15/2022, 2:25 PMBig Chungus
01/15/2022, 2:26 PMAlexander Suraphel
01/15/2022, 2:26 PMRescribet
01/15/2022, 3:39 PMapplication.conf
without separate files for different envs, removing the development line from that conf and adding the following worked well:
application {
mainClass.set("io.ktor.server.cio.EngineMain")
if (System.getenv("KTOR_ENV") == "development") {
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=true")
}
}
Alexander Suraphel
01/15/2022, 5:18 PM